A barebones Node.js app using Express 4.
This application supports the Getting Started with Node on Heroku article - check it out.
Make sure you have Node.js and the Heroku CLI installed.
$ git clone git@github.com:heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
or
For more information about using Node.js on Heroku, see these Dev Center articles:
- Getting Started with Node.js on Heroku
- Heroku Node.js Support
- Node.js on Heroku
- Best Practices for Node.js Development
- Using WebSockets on Heroku with Node.js
https://docs.npmjs.com/getting-started/updating-local-packages
https://github.com/vitaly-t/pg-promise/blob/master/examples/select-insert.md
https://www.codementor.io/olatundegaruba/password-reset-using-jwt-ag2pmlck0
https://app.mailgun.com/app/dashboard
heroku run printenv -a die-apps-server
https://www.graphile.org/postgraphile/examples/
https://www.graphile.org/postgraphile/usage-library/ https://github.com/mlipscombe/postgraphile-plugin-nested-mutations
graphile/crystal#346 (comment) graphile/crystal#824 (comment)
http://localhost:5000/graphiql
######## package.json --> webpack ######## "scripts": { "prestart": "webpack", "start": "nodemon index.js", "test": "node test.js" } ##########################################