express-mongodb-basic

Setup project

  • npm install or npm i
  • open app/server.config.js
  • change path to database = connectionUTL
  • npm start
  • ##heroku deploy

    Deploy project on heroku

  • heroku login
  • git init
  • heroku create [PROJECT_NAME]
  • create Procfile
  • Procfile must containt: web: npm start
  • git add *
  • git commit -m "My first deploy"
  • git push heroku master
  • More info about deploy on heroku for Node.js