A community for theater enthusiasts in the Bay Area to review their favorite shows.
Create a .env file and put into it:
- The port number, probably:
PORT = 3000
- The database url, probably:
DATABASE_URL = 'postgres://localhost:5432/${dbName}
where dbName is the name of your db - The SECRET for your sessions
Use the following commands to set up and seed your database:
- Create PostgreSQL database called theater_dev by running the command
npm run db:create
- Set up database tables by running a migration:
npm run db:migrate
- You can also load some really basic seed data by running
npm run db:seedShows
See the site live at https://bayareatheaterreviews.herokuapp.com/