How to get started:
- in /apps/server, rename
.env.example
to.env
. - fill
DATABASE_URL
environment variable with your database url (reference: https://pris.ly/d/connection-strings). - in /apps/server/schema.prisma, change
datasource db -> provider
to your db provider, and also comment currenturl
and un-commenturl
bellow it to use configuration in .env file. - run
npx prisma migrate dev
in apps/server to apply latest migration to your database.