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