Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 773 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 773 Bytes

Bay-Area-Theater-Reviews

A community for theater enthusiasts in the Bay Area to review their favorite shows.

Getting Started

Create a .env file and put into it:

  1. The port number, probably: PORT = 3000
  2. The database url, probably: DATABASE_URL = 'postgres://localhost:5432/${dbName} where dbName is the name of your db
  3. The SECRET for your sessions

Setting Up Your Database

Use the following commands to set up and seed your database:

  1. Create PostgreSQL database called theater_dev by running the command npm run db:create
  2. Set up database tables by running a migration: npm run db:migrate
  3. You can also load some really basic seed data by running npm run db:seedShows

See the site live at https://bayareatheaterreviews.herokuapp.com/