/temp-prisma-mysql

template prisma -> mysql

Primary LanguageJavaScript

Prisma

Prisma

💻 Getting Started

## Install
npm install
npx prisma generate
npx prisma migrate dev

npm start
## Buat New Database
testprisma
## Api
http://localhost:5000/
## Routes
POST    |  http://localhost:5000/
GET     |  http://localhost:5000/
DELETE  |  http://localhost:5000/:id
UPDATE  |  http://localhost:5000/:id
## Response
success          |  200
serverError      |  500
notFound         |  404
invalidInput     |  400
unauthorized     |  401
forbidden        |  403
conflict         |  409