Initialize Minabot with Hono and React Router
This commit is contained in:
28
README.md
Normal file
28
README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Minabot
|
||||
|
||||
Minimal Bun + Hono backend and React Router client, initialized with Bun's
|
||||
shadcn + Tailwind CSS v4 template.
|
||||
|
||||
```sh
|
||||
bun install
|
||||
bun dev
|
||||
```
|
||||
|
||||
Open http://127.0.0.1:3000. Set `PORT` to use a different port.
|
||||
|
||||
- Client pages: `/`, `/about`, `/settings`.
|
||||
- Hono endpoint: `GET /api/health`.
|
||||
- Unknown API routes return JSON with a 404 status.
|
||||
|
||||
Pages contain only a heading and native navigation buttons. Tailwind utilities
|
||||
and shadcn configuration are available; Tailwind Preflight is omitted to preserve
|
||||
native browser styling.
|
||||
|
||||
```sh
|
||||
bun run typecheck
|
||||
bun run build
|
||||
bun start
|
||||
```
|
||||
|
||||
The build includes the backend and frontend in `dist/`. `bun start` serves that
|
||||
production build. Client routes support direct loading and browser history.
|
||||
Reference in New Issue
Block a user