The Road to Next (BASIC)

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.

Installation

  1. Clone the repository
  2. Add your own .env file with the following content [0] coming from Supabase [1]
  3. Run npm install to install the dependencies (maybe you have to append the --force flag)
  4. 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]

Screenshot 2024-11-20 at 14 48 38

Usage

npm run prisma-seed
npm run dev
npx prisma studio