npm install
npx prisma migrate dev
// i think it should be deploy but it's not migrate database.
npm start
localhost:3080/api/todos
localhost:3080/api/todos/e1726b5b-cac8-4d6e-b676-26211f9408a8
Body:
{
"name": "New Todo"
}
localhost:3080/api/todos/e1726b5b-cac8-4d6e-b676-26211f9408a8
Body:
{
"name": "New Todo"
}
localhost:3080/api/todos/e1726b5b-cac8-4d6e-b676-26211f9408a8
localhost:3080/api/todos/e1726b5b-cac8-4d6e-b676-26211f9408a8
export type todo = {
todoId: string
name: string
marked: boolean
}