Simple TODO API with Bun
bun install
bun seed
bun start
Now visit localhost And you should see a welcome message
[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