A modern boilerplate to build cross-platform, high-performance desktop applications using Electron, React, Tailwind CSS, and other cutting-edge web development tools.
- ElectronJS: Cross-platform desktop app development with web technologies.
- ReactJS: Efficient library for building dynamic user interfaces.
- TailwindCSS: Utility-first CSS framework for fast UI development.
- ShadcnUI: Reusable and customizable components to speed up development.
- Vite: Lightning-fast development server with hot module replacement (HMR).
- Vitest: Fast and simple unit testing for React components.
- React Testing Library: Helps test React components in a user-centric way.
- Happy DOM: A fast DOM simulation for testing React components.
- BiomeJS: A fast and reliable linter and code formatter for consistent code style.
- Clone or Fork the Repository
You can either use this template by clicking the "Use this template" button or clone the repository to your local machine:
git clone https://github.com/Molizanee/electron-react-tailwind.git && cd electron-react-tailwind
- Install Dependencies
Once inside the project directory, install all required dependencies:
npm install
- Run the Development Server
Start the project in development mode with hot-reloading enabled:
npm run dev
- Run Tests
Run all tests with Vitest:
npm run test
To open the Vitest UI for a visual overview of your tests:
npm run test:ui
- Build the Project
To build the project for production:
npm run build
This will bundle your application and prepare it for distribution across different platforms.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to contribute! Please submit a pull request or open an issue for any changes or improvements.