A web application to keep track of your Magic the Gathering collection
- Search for any card
- Create collections
- See value of your collections (updated daily)
- This is a T3 Stack project bootstrapped with
create-t3-app
. - We are using Supabase for our database at the moment, we might use other features as we need them.
-
install dependencies
npm install
-
download .env file
npx vercel env pull
- rename
.env.local
to.env
- remove everything in .env for vercel (usually starts at NX_DAEMON)
The vercel env vars mess with most things you want to do locally, like next_auth and prisma migrations. So removing them will help. There's probably a more elegant solution, but this was the easiest path.
- rename
-
get your local supabase database ready to go
npx supabase start
npx prisma db push // Syncs database with schema
npx prisma db seed // Seeds database
-
run
npm run dev