Skip to content

mikeover/node-api

Repository files navigation

Commands

  • npm init
  • npm install --save express mongoose morgan body-parser
  • node index.js // run server
  • npm install --save nodemon
  • npm install --save bcrypt-nodejs
  • npm install --save bcrypt-nodejs
  • npm install --save passport passport-jwt
  • npm install --save passport-local
  • npm install --save cors

Run it (requires mongo to be started as well)

  • mongod
  • npm run dev // after setting up dev script in package.json which then runs nodemon instead

MongoDB

  • brew install mongodb
  • sudo mkdir -p /data/db
  • sudo chown -R $USER /data/db
  • mongod // run mongo

Robo 3T (mongodb viewer)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published