this is the project to learn and try to use prisma with express.js and mongodb database
- clone this repository.
pnpm installornpm installto install dependencies.- create
.envlike.env.example - enter your database config at '.env' (Mongodb)
npx prisma generateto generatenpx tsc -wto auto compile TypeScript to JavaScript.- in another terminal run
pnpm devornpm run devto run server with nodemon - start edit about api at
./src/express.ts
- Prisma
- Typescript
- express.js
- nodemon
- read, add, update, delete users.