CRUD application where users can enter their contacts information. Users can also seach through their contacts.
- Vue
- Vue-router
- Vuex
- Vee-validate
- Javascript
- Express
- Knex
- PostgrSQL
- Axios
-
Install Node.js
-
Install PostgreSQL
-
Install Postgres.app
-
Inside terminal:
$ psql
*You will now be in the postgres interactive terminal
-
Create a
contacts
database:=# CREATE DATABASE contacts;
*ctrl-D or \q enter to exit psql shell
-
Clone repository:
$ git clone https://github.com/egarcia410/contact-vue.git
-
Navigate into
client
folder:$ cd contact-vue/client
-
Install
client
folder dependencies:$ npm install
-
Create tables for database:
$ knex migrate:latest
-
Run
client
application:$ npm run dev
-
Navigate into
server
folder:$ cd ../server
-
Install
server
folder dependencies:$ npm install
-
Run
server
application:$ nodemon app.js
-
Inside browser, go to
http://localhost:8080/