Skip to content

1WillKelly/kellybowlpickem

Repository files navigation

KellyBowlPickem.com

Development environment

This repository uses Docker (and docker-compose) in development for its MySQL database.

docker-compose up -d

First time setup

Copy .env.example to .env:

cp .env.example .env

Then, fill in CFBD_API_KEY with a valid CollegeFootballData.com API key.

Fill in GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET with Google OAuth 2.0 credentials (for the admin interfac).

Migrations

If your database is out of sync, or if you made some schema changes and want to deploy a migration, run:

yarn prisma migrate dev

Syncing data

In local development, you can run the webhooks without authentication:

curl localhost:3000/api/sync/sync-bowl-games

How do I deploy this?

Follow our deployment guides for Vercel and Docker for more information.

Releases

No releases published

Packages

No packages published