This template provides a minimal setup to get React working in Vite with ExpressJS backend on Bun.js.
-
- Typical Vite structure with
src
andpublic
folders
- Typical Vite structure with
-
- Setup as you like, including routers, middlewares, models, etc.
-
- Frontend -
bun run dev
(acessible through port5173
) - Backend -
bun run backend
(accessible through port3000
)
- Frontend -
-
-
bun run server
-
Website will now be available at http://localhost:3000/
-