Make sure you have Node.js and the Heroku CLI installed. Must be logged into Heroku
$ git clone https://github.com/shelbykauth/kauth-recipes-api-node.git # or clone your own fork
$ cd kauth-recipes-api-node
$ npm install
$ npm start
Your app should now be running on localhost:5000.
checkout the Getting Started stuff. heroku git:remote -a <project name>
will allow you to associate this with an existing project.
Before deciding to push:
npm run heroku-postbuild
heroku local web
This should allow you to emulate running on heroku
Before push:
npm run format # (or format-check)
npm run lint
npm run test
git push heroku main
heroku open
Don't forget to push to origin!
For more information about using Node.js on Heroku, see these Dev Center articles: