git clone https://github.com/technobyte-nitkkr/middleman
Move into the repo and install the packages
cd middleman && npm i
cp env-example .env
Start the postgres container
docker compose up -d
Apply the latest migration
npx prisma migrate dev
Seed the data
npm run db:seed
While working, if you want to clean the data stored and seed the data again
npm run db:dev