Screen.Recording.2023-05-03.at.11.16.44.AM.mov
Screen.Recording.2023-05-03.at.11.20.57.AM.mov
JOIN VIA SHARING THE SAME ROOM CODE
- CLONE THIS REPO
npm i
cd server && npm i && cd ..
- Head to supabase
- Create a new project
After initalizing
- Create
.env
in the root dir of the project
Paste the below
DIRECT_URL = "postgres://postgres:[PROJECT_PASSWORD]@db.[PROJECT_ID].supabase.co:5432/postgres"
DATABASE_URL = "postgres://postgres:[PROJECT_PASSWORD]@db.[PROJECT_ID].supabase.co:6543/postgres?pgbouncer=true"
Run the following command in root dir
npx prisma migrate dev --name init
npx prisma generate
npm run dev
cd server
npm run start
BREAK SOME CODE - GIVE A PR - HAFFUN