Code along @ https://www.youtube.com/watch?v=PKy2lYEnhgs
Theos's roundest-mon repo
Prerequisite:
- MySQL local database (or Planetscale connection using PScale CLI)
yarn
Setup
- Clone repo
yarn install
- Create
.env
file if one does not already exist - Add connection URLs for both database and shadow db to .env (example .env file here)
- Initialize database -
yarn prisma migrate dev
- This will run
prisma db seed
underneath
- This will run
- Run dev server
yarn dev