This project was created to explore and gain hands-on experience with Bun and its growing ecosystem. By integrating a React front-end with a back-end powered by the Elysia framework, this setup provides a practical way to understand how Bun can optimize both development and runtime performance.
This project requires Bun version v1.0.0 or later. You can check your Bun version with:
bun -v
git clone https://github.com/Linh-Tran-0312/bun.git
cd react
bun install
cd ../elysia-app
bun install
Create a .env file in the root of each app directory with the required environment variables based on env.sample file.
bun run dev
Build React app and serve it with backend
cd react
bun run build
Start server app
bun run dev