The finished application that you get after completing the first journey of The Road to Next. Here you can already download it as a starter kit and start your own journey.
- Clone the repository
- Add your own
.env
file with the following content [0] coming from Supabase [1] - Run
npm install
to install the dependencies (maybe you have to append the--force
flag) - Run the database migration
npx prisma db push
to create the DB tables
[0]
// .env
DATABASE_URL="postgres://postgres.[project]:[password]@aws-0-[aws-region].pooler.supabase.com:6543/postgres?pgbouncer=true"
DIRECT_URL="postgres://postgres.[project]:[password]@aws-0-[aws-region].pooler.supabase.com:5432/postgres"
[1]
npm run prisma-seed
npm run dev
npx prisma studio