Skip to main content

Local setup

info

Make sure the following tool are installed on your computer before running your project

Docker Desktop Versionpnpm VersionNode.js versionnpm Version

Set up your project

The first time you clone the project, run the following commands:

npm install -g pnpm

This installs pnpm if you don't have it.

pnpm run init

This starts your docker services, intialise your .env and initialize your PostgreSQL database with mock data.

Run your front-end and back-end

pnpm run dev

Environment Variables

KeyDefaultDescription
NODE_ENVdevelopmentEnvironment
SERVER_DATABASE_URLpostgres://root:root@localhost:5442/apiDatabase url
NEXTAUTH_SECRETmysecretAuthentication secret
NEXTAUTH_URLhttp://localhost:3000Base URL of your app