This is the back-end API for the cookbookv2. This is a RESTful API with CRUD operations.
- Node.js as our runtime environment
- NestJS our Node.js framework
- Docker for containerizing our database
- PostgreSQL
- Prisma
Launch Project
npm install
npm run dev:start
Launch backend container with docker image Make sure you have docker installed before running
docker-compose up -d
Launch seed This creates 2 mock data from the seed.ts file
npx prisma db seed
If you make any changes to schema.prisma use
npx prisma migrate