This is a starter template for building a React application with Vite. It includes basic configurations and packages to help you start building your React project quickly.
- React: A popular JavaScript library for building user interfaces
- Vite: A fast build tool for modern web apps
- Babel: A JavaScript compiler for using modern JavaScript features in all browsers
- ESLint: A linter tool to help maintain code quality and consistency
- Prettier: A code formatter to keep your code clean and easy to read
- Jest: A testing framework for writing and running tests
- React Testing Library: A testing library to help test React components
To get started, simply clone this repository and install dependencies:
git clone https://github.com/AndoMickael/starter-react.git
cd starter-react
npm install
In the project directory, you can run:
npm run dev
Runs the app in development mode. Open http://localhost:3000 to view it in the browser.
npm run build
Builds the app for production to the dist
folder.
npm run serve
Serves the production build from the dist
folder.
npm run lint
Checks for linting errors in the project.
npm run format
Formats the codebase using Prettier.
npm test
Runs all tests in the project.
src
: Contains the source code of the applicationcomponents
: Contains the React components of the applicationpages
: Contains the pages of the applicationassets
: Contains the global assets of the applicationutils
: Contains all utilities of the applicationservices
: Contains all of services of the application
This project was created by Ando Mickael Ramahenina. You can reach out to me at ando.mickael25@gmail.com.
This project is licensed under the MIT License.
Contributions are always welcome! If you have any feedback, issues or suggestions, please open an issue or a pull request.