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

https://github.com/olegwock/bun-hono-drizzle-react-starter

My template for projects with Bun, Hono,Drizzle and OpenAPI/Scalar on the backend and React (through Vite) and end-to-end typing for API on the frontend.
https://github.com/olegwock/bun-hono-drizzle-react-starter

Last synced: about 1 month ago
JSON representation

My template for projects with Bun, Hono,Drizzle and OpenAPI/Scalar on the backend and React (through Vite) and end-to-end typing for API on the frontend.

Awesome Lists containing this project

README

          

# Project name

To install dependencies:

```bash
bun install
```

Setup database:

```bash
bun run drizzle:schema
bun run drizzle:migrate
bun run drizzle:seed
```

To run:

```bash
bun run server
bun run client
```

* Server available on [localhost:8440](http://localhost:8440)
* API docs available on [localhost:8440/scalar](http://localhost:8440/scalar)
* Client available on [localhost:8441](http://localhost:8441)

To create new component:

```bash
bun scaffold component new Button
```