https://github.com/chrislawes/hono-todo-api
๐ฅ Hono API, creates CRUD endpoints for testing a Todo Frontend.
https://github.com/chrislawes/hono-todo-api
hono honojs todoapp todolist typescript
Last synced: about 1 month ago
JSON representation
๐ฅ Hono API, creates CRUD endpoints for testing a Todo Frontend.
- Host: GitHub
- URL: https://github.com/chrislawes/hono-todo-api
- Owner: chrislawes
- Created: 2025-01-22T17:08:27.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T20:39:08.000Z (about 1 month ago)
- Last Synced: 2025-03-25T21:28:12.945Z (about 1 month ago)
- Topics: hono, honojs, todoapp, todolist, typescript
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฅ Hono TODO API
Simple [Hono](https://hono.dev/) API, creates CRUD endpoints for testing a Todo frontend.
Built with TypeScript, Zod for input validation, and Vitest for (vi)testing.
Ready to power your todo application! ๐
### โ๏ธ Endpoints
```js
GET / api / todos
``````js
POST / api / todos
``````
{
"title": string
"done"?: boolean
}
``````js
PUT /api/todos/:id
``````
{
"title"?: string
"done"?: boolean
}
``````js
DELETE /api/todos/:id
```### ๐โโ๏ธ Running
```shell
bun i
bun run dev
```### ๐งช Testing
```shell
bun run test
```