nodevuejs
This is a simple CRUD application running under NodeJS VueJS ExpressJS and using MongoDB to store data.
In this example we are using a User model with name, email, password, date of birth, when was created and when was updated as the attributes.
Requirements
- git installed
- Node.js / NVM installed (https://github.com/creationix/nvm)
- MongoDB installed
Make sure that MongoDB is running under localhost(127.0.0.1) and has the port 27017 available.
Setup for Development
-
Clone the repo using https
git clone https://github.com/gconsentini/nodevuejs.git
-
cd nodevuejs
-
Open client
cd client
npm install
npm run dev
- Open server
cd server
npm install
npm start
- Open
http://localhost:8080
in browser
One thing was noticed when you open the client with Firefox, after deleting a user the page does not refresh itself to update the users, so if you're using Firefox note that you should refresh the page F5.
With Google Chrome no problem was encountered.