A barebones Node.js app using Express 4.
This application supports the c++ addon with node.js.
Deploying to Heroku. https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up
Make sure you have a free Heroku account, Node.js and npm installed locally.
$ heroku login
$ git clone https://github.com/cui422/c-addon-with-node.js.git # or clone your own fork
$ cd c-addon-with-node.js
$ heroku create
$ git push heroku master
$ heroku ps:scale web=1
$ heroku open
or
Once the app run, you need to input the below credential in the first page.
Username: admin
Password: admin123
For more information about using Node.js on Heroku, see these Dev Center articles:
