Heroku -- free tier account for NodeJS (and other languages)

Heroku (free tier) getting started guide with NodeJS on Heroku

Basics of setting up a new project for Heroku (not including the code you will write) and deploy with Heroku & Run it

Runing a particular script or running the console

Configuration Variables --- in the .env file in project's main directory

To add a new Configuration variable

 heroku config:set TIMES=2

 

To view your project's configuration variables that have been set

 heroku config
  == sharp-rain-871 Config Vars
  PAPERTRAIL_API_TOKEN: erdKhPeeeehIcdfY7ne
  TIMES: 2

Heroku addons -- Data storage and detailed MongoDB example using mLab MongoDB

 

 

Using Heroku web console rather than command line

this is a dummy app I have deployed in my account

you can see I am using a Postgress database and my main app is index.js

 

no one is using my app but, its pretty fast for free --- go to metrics tab in console for analytics

© Lynne Grewe