/react-express-bun-template

React + TailwindCSS + Vite + Express on Bun

Primary LanguageJavaScript

React + TailwindCSS + Vite + Express on Bun.js

This template provides a minimal setup to get React working in Vite with ExpressJS backend on Bun.js.

How to use

  • Frontend code in frontend directory

    • Typical Vite structure with src and public folders
  • Backend code in backend directory

    • Setup as you like, including routers, middlewares, models, etc.

To Run

  • During development

    • Frontend - bun run dev (acessible through port 5173)
    • Backend - bun run backend (accessible through port 3000)
  • Build and Run