https://github.com/chneau/bun-hono-react-template
https://github.com/chneau/bun-hono-react-template
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chneau/bun-hono-react-template
- Owner: chneau
- Created: 2025-07-17T16:17:51.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-07-17T16:27:18.000Z (11 months ago)
- Last Synced: 2025-07-17T19:14:02.258Z (11 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bun-hono-react-template
This is a small template using Bun, Hono, React, Wouter and React-Query.
## Features
- **Bun**: A fast all-in-one JavaScript runtime, bundler, transpiler and package
manager.
- **Hono**: A small, simple, and ultrafast web framework for the Edge.
- **React**: A JavaScript library for building user interfaces.
- **Wouter**: A minimalist routing library for React.
- **React Query**: A library for fetching, caching and updating asynchronous
data in React.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/chneau/bun-hono-react-template.git
```
2. Install the dependencies:
```bash
bun install
```
3. Start the development server:
```bash
bun run dev
```
## Available Scripts
- `dev`: Starts the development server with hot reloading.
- `start`: Starts the production server.
- `build`: Builds the project for production.
- `run-dist`: Runs the production build.
- `docker-build`: Builds the Docker image.
- `run-docker`: Runs the Docker container.
- `upgrade`: Upgrades the dependencies to the latest version.
- `check`: Formats the code, lints it and checks for errors.
- `lint`: Checks for TypeScript errors.
- `all`: Runs all the checks and upgrades the dependencies.
## Technologies Used
- [Bun](https://bun.sh/)
- [Hono](https://hono.dev/)
- [React](https://react.dev/)
- [Wouter](https://github.com/molefrog/wouter)
- [React Query](https://tanstack.com/query/latest)
- [TypeScript](https://www.typescriptlang.org/)
- [Docker](https://www.docker.com/)