/nodevuejs

This is a simple CRUD application running under node.js mongodb and vue.js

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

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

Make sure that MongoDB is running under localhost(127.0.0.1) and has the port 27017 available.

Setup for Development

  1. Clone the repo using https git clone https://github.com/gconsentini/nodevuejs.git

  2. cd nodevuejs

  3. Open client

cd client
npm install
npm run dev
  1. Open server
cd server
npm install
npm start
  1. 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.