A REST API made using NodeJS, Express, Typescript and MongoDB (Prisma ORM).
- Create
package.jsonfile usingnpm initcommand. - Install the dependencies using
npm installcommand.
- Create
tsconfig.jsonfile usingtsc --initcommand. - Add the required directory details in the
tsconfig.jsonfile.
- Command:
npx prisma init==> prisma folder is created. - Add the model details in the
schema.prismafile. - Add the MongoDB atlas URL in the
.envfile. - After saving the file, execute command
npx prisma generateto save the model.
- Postman