$ pnpm installpnpm dlx prisma generate
pnpm dlx prisma db pushpnpm dlx prisma db seedCopy the .env.example file to .env and fill in the necessary values.
- I had problems doing this, so I had to use the mongoDB Atlas service.
- Could have used mongoose ofc, but I wanted to try Prisma with MongoDB.
- It has something to do with MongoDB Replica Issue (wasted hours with this trying to create a single docker-compose 🥲)
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prodNest is MIT licensed.