Skip to content

A Monorepo Project Includes Hono & React & RPC & Open API

Notifications You must be signed in to change notification settings

lloyd42/monorepo-hono-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

113a0b0 · Oct 18, 2024

History

4 Commits
Oct 18, 2024
Oct 18, 2024
Oct 15, 2024
Oct 18, 2024
Oct 12, 2024
Oct 18, 2024
Oct 12, 2024

Repository files navigation

A Monorepo Project Includes Hono & React & RPC & Open API

A starter template for building fully documented type-safe JSON APIs with Hono and Open API.

Included

Setup

Clone this template without git history

git clone my-project
cd my-project

Create .env file

cp .env.example .env

Install dependencies

pnpm install

Run

pnpm dev

Test

pnpm test

Endpoints

Path Description
GET /doc Open API Specification
GET /reference Scalar API Documentation
GET /todo List all tasks
POST /todo Create a task
GET /todo/{id} Get one task by id
PATCH /todo/{id} Patch one task by id
DELETE /todo/{id} Delete one task by id
... ...

References

Thanks

About

A Monorepo Project Includes Hono & React & RPC & Open API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published