Skip to content

vazgabriel/bun-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bun TODO

Simple TODO API with Bun

Prepare

bun install
bun seed

Run

bun start

Now visit localhost And you should see a welcome message

Simple actions:

[GET] /todo -> Return all TODOs

[GET] /todo/<id> -> Return TODO by ID

[POST] /todo -> Create a new TODO based on JSON { description: string }

[PATCH] /todo/<id> -> Complete TODO by ID

About

Bun todo example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published