First, set up a PostgreSQL database using one of these options:
- Start a PostgreSQL instance in Docker:
docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
- Or grab a free PostgreSQL database instance from Aiven or Neon
Copy the example environment file and configure your environment variables:
cp .env.example .envEdit the .env file and add the required variables, especially your database connection string.
Run the Prisma migration to set up your database schema:
yarn prisma migrate devRun the development server:
yarn devOpen http://localhost:3000 with your browser to see the application.
For testing purposes, you can use the following credentials:
Email: [email protected]
Password: password