Arikato111 / learn-prisma-api

this is the project to learn and try to use prisma with express.js and mysql database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prisma typescript mongodb

Learn Prisma Api

this is the project to learn and try to use prisma with express.js and mongodb database

Get started

  • clone this repository.
  • pnpm install or npm install to install dependencies.
  • create .env like .env.example
  • enter your database config at '.env' (Mongodb)
  • npx prisma generate to generate
  • npx tsc -w to auto compile TypeScript to JavaScript.
  • in another terminal run pnpm dev or npm run dev to run server with nodemon
  • start edit about api at ./src/express.ts

Inside it

TODOs

  • read, add, update, delete users.

About

this is the project to learn and try to use prisma with express.js and mysql database


Languages

Language:TypeScript 100.0%