Skip to content

NEU-CS5610-2022-01-VAN/quiz-05-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quiz-05-databases

Add 4 new endpoints to the Todo API we worked on class. Make sure to follow the RESTFull conventions

  • creates a todo item (retuns the created item)
  • deletes a todo item by id (retuns the deleted item)
  • get a todo item by id (retuns the item)
  • updates a todo item by id (retuns the updated item)

Add a .env file and set it to your local database querystring eg: DATABASE_URL="mysql://root:123456@localhost:3306/tododb"

Check the following documentation if you need help with prisma specific syntax: https://www.prisma.io/docs/concepts/components/prisma-client/crud

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published