- Clone the project
- run the command
npm install
orpnpm install
- run the command
docker-compose up -d
to start the database ( config in docker-compose.yml, -d flag is to run in background ) - create a file named
.env
and copy the content of.env.example
to it in the root directory - runt he command
npx prisma db push
orpnpm prisma db push
to create the database tables - run the command
npm run dev
orpnpm run dev
to start the server
- to see the database easily with prisma studio run the command
npx prisma studio
orpnpm prisma studio
- nodejs (i think version 20+ does not work not sure install LTS to be safe or 19.x.x)
- npm or pnpm
- docker + docker-compose