Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.8 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.8 KB

node-js-getting-started

Tech Stack:

Running Locally

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.

Deployment Setup

checkout the Getting Started stuff. heroku git:remote -a <project name> will allow you to associate this with an existing project.

Before you deploy

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

Deploying to Heroku

git push heroku main
heroku open

Don't forget to push to origin!

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: