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.
- Host: GitHub
- URL: https://github.com/olegwock/bun-hono-drizzle-react-starter
- Owner: OlegWock
- License: mit
- Created: 2024-04-21T11:19:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-21T11:34:05.000Z (over 1 year ago)
- Last Synced: 2024-11-08T15:48:30.618Z (11 months ago)
- Language: TypeScript
- Size: 103 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```