Skip to content

Nodejs Prisma ORM RESTAPI where you create title and description in sqlite.

Notifications You must be signed in to change notification settings

diegoperea20/Prisma-ORM-REST-API-create-Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma ORM REST API create Tasks

Nodejs Prisma ORM RESTAPI where you create title and description in sqlite.

GET

Step1

POST

Step1

PUT

Step1

DELETE

Step1

Steps to implement it

Execute

npm install
npm run dev

Starting from scratch :

npm init -y
npm install prisma --save-dev
npx prisma init
npm install express 
npm i nodemon -D

After of model created:
model Task {
  id Int @id @default(autoincrement())
  title  String 
  description String
}
npx prisma migrate dev

About

Nodejs Prisma ORM RESTAPI where you create title and description in sqlite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published