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.![image](https://github.com/Samagra-Development/Doc-Generator/assets/75534568/ba0d0511-6c24-4b03-9cba-eb4a70485255)