Skip to content

yutakusuno/bun-hono-react-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bun-Hono-React-WebSocket

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

Tech Stack

Frontend

Backend

JavaScript Runtime(Both Frontend and Backend)

Getting Started

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