-
Clone or Fork the repo and install dependencies.
npm install
-
Install Docker if you don't have it already installed.
-
Create a docker volume:
sudo docker volume create postgres_data
-
Run docker container:
sudo docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 -v postgres_data:/var/lib/postgresql/data postgres
-
run npm install
-
Open the root folder and in terminal migrate the DB:
npx prisma migrate dev
-
Run the project:
npm run dev