https://salty-inlet-28526.herokuapp.com/coffee
This is the server-side of our NEAP App. It's a RESTful API. It serves up JSON.
- Set up database
- create and apply migration
- create and apply seed
- set up route config
- create file in routes folder for that resource
- add route handlers for that resource
- Set up knex queries
- set up env variables
- add control (optional)
- Setup Heroku
- Push to Heroku
- Setup db:
heroku addons:create heroku-postgresql:hobby-dev
- Run migrations -
heroku run knex migrate:latest --env production
- Run seeds -
heroku run knex seed:run --env production
- Heroku restart