29 lines
746 B
Markdown
29 lines
746 B
Markdown
# 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.
|