A template for building REST APIs with Node.js, Express and Mongo DB. Giving you the MEN part of your MEAN stack.
/
/models
* Post
* User
/routes
* auth
* posts
* validateJWT
* app.js
* validation.js
* package.json
* .env
You can either:
sudo rm package.json package-lock.json
npm init
# Install dependancies
npm install @hapi/joi bcryptjs cors dotenv express jsonwebtoken mongoose --save
# Optional DevOPS
npm install nodemon --save
npm install
nodemon app.js