A modern, fast React application boilerplate built with Vite, TypeScript, TailwindCSS, and comprehensive testing setup.
Clone the repository:
git clone <your-repo-url>
cd boilerplate-vite
Install dependencies:
npm install
Start the development server:
npm run dev
npm run dev
- Start development server with hot-reloadnpm run build
- Build for productionnpm run preview
- Preview production build locallynpm run lint
- Run ESLintnpm test
- Run testsnpm run test:ui
- Run tests with UInpm run test:coverage
- Generate test coverage reportsrc/
โโโ assets/ # Static assets
โโโ components/ # React components
โโโ test/ # Test setup and utilities
โโโ App.tsx # Main App component
โโโ main.tsx # Application entry point
To build and run the application using Docker:
# Build the image
docker build -t boilerplate-vite .
# Run the container
docker run -p 3000:80 boilerplate-vite