A starting point for Node.js express apps with TypeScript
- Download and install Heroku Toolbelt
- In a terminal, run
heroku login
and enter your Heroku credentials - From your app directory run
heroku create
- Run
heroku addons:create mongolab
. This will set up the mLab add-on and configure theMONGODB_URI
environment variable in your Heroku app for you. - Lastly, do
git push heroku master
. Done!
Note: To install Heroku add-ons your account must be verified.