npm run start or nodemon app.js
make sure you have mongo running in another tab
mongod
#copy .env.example to .env.prod and change mongolab uri
MONGOLAB_URI=mongodb://myuser:[email protected]:31512/mydb
now --dotenv=.env.prod --public --npm
#make it point to enthusto.now.sh
now alias enthusto
## free up instances
now ls enthusto
now rm enthusto
alltogether
now rm enthusto -y
now --dotenv=.env.prod --public --npm
now alias enthusto
####possible TODOs
dont use roomID, use already established socket connections, namespace etc..
https://stackoverflow.com/a/40829919/403403
based off https://github.com/sahat/hackathon-starter