Open Swatishree-Mahapatra opened 1 year ago
This PR aims to develop an API to create a batch: #152 Steps followed:
Batch
nest g resource
POST/batches
Result: The above-created API endpoint successfully creates a new batch and adds it to the database. Verified the working using Prisma Studio.
This PR aims to develop an API to create a batch: #152 Steps followed:
Batch
model, and performed database migrationnest g resource
to generate all boilerplate code. This can be used for any further API that will implement CRUD operations.POST/batches
Result: The above-created API endpoint successfully creates a new batch and adds it to the database. Verified the working using Prisma Studio.