Skip to content

simonramsey0/simonsaysplant

Repository files navigation

Simon Says...Plant This 🌱

Running Locally 💻

First, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Deploying the Site to Vercel ⤴️

Push to GitHub

Vercel will redeploy the app upon any commits to Github

Making Migrations ✅

After making major changes to either the Prisma schema or the Supabase database, it's a good idea to create a migration file, which tracks the changes made between interations of the databse via SQL files.

Prisma Migrations

Creating

prisma migrate dev --name <migration_name>

Applying

prisma migrate resolve --applied <migration_name>

Pushing to Supabase

prisma migrate deploy

Supabase Migrations

Creating

supabase migration new <migration_name>

Applying

supabase migrate up