Skip to content

pizza-to-the-polls/pizzabase

Repository files navigation

Pizza Base

The HQ for Pizza to the Polls. Powering our admin API... and other things.

Getting Started

  1. Install dependencies npm i

  2. Make sure you've got postgres running locally with a user and a db

  3. Copy ormconfig.json.example to ormconfig.json and add your db/credentials

  4. Run npm run schema:sync to set up the db

  5. Run npm run dev to see it in action

  6. To specify the database tests run against - specify env variables for POSTGRES_DB, POSTGRES_USERNAME, POSTGRES_PASSWORD

Bulk Uploading

GOOGLE_MAPS_KEY=XXDX ts-node scripts/uploadPreorder.ts path/to/csv

About

PizzaBase is the HQ for Pizza to the Polls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages