This repository contains a simple messaging app with a frontend built using React and a backend powered by Hono, both utilizing TypeScript and Bun for an optimized development experience.
hono-websocket-demo.mp4
Frontend
- React
- TypeScript
- WebSocket API
Backend
- Hono
- TypeScript
JavaScript Runtime(Both Frontend and Backend)
- Bun v1.1.8
To run it locally, follow these steps:
Clone the repository:
git clone [email protected]:yutakusuno/bun-hono-react-websocket.git
For backend, install dependencies and start the backend server:
bun i
bun run dev
Similarly, for frontend, install dependencies and start the frontend server:
cd frontend
bun i
bun run dev
Then, open your browser and navigate to the frontend's URL: http://localhost:5173