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