After cloning this repository, please do the following to get started:
- Install Dependencies
npm install
- Create a Heroku app
heroku create <unique-app-name>
- Create a Heroku PostgreSQL database
heroku addons:create heroku-postgresql:hobby-dev
- Load the database with the seed data
heroku pg:psql < database.sql
- Fetch the Heroku PostgreSQL database URL
heroku config --shell > .env
- Run the server locally
npm run dev
-
Open the browser and go to http://localhost:3000
-
Deploy the app to Heroku
git push heroku main
- Open the app on Heroku
heroku open