An open API service indexing awesome lists of open source software.

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.

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
```