Starter project originally implemented by Theo using the following stack:
- Next.js with Typescript
- Tailwind CSS: styling
- Prisma.io: Typescript ORM for the DB
- tRPC: for defining and consuming APIs
- PlanetScale: MySQL serverless database
Setup
- Clone repo
yarn
- Create
.env
withDATABASE_URL
andSHADOW_URL
- Initialize database -
yarn prisma migrate dev
- Initialize base data set -
yarn backfill
- Run dev server
yarn dev