boilerplates

React Application Boilerplate

Modern React application with best practices and common tools.

Structure

react_app/
├── public/
│   └── index.html
├── src/
│   ├── components/
│   ├── hooks/
│   ├── services/
│   ├── utils/
│   ├── styles/
│   ├── App.js
│   └── index.js
├── .env.example
├── .eslintrc.js
├── .prettierrc
├── package.json
└── README.md

Features

Usage

  1. Install dependencies: npm install
  2. Copy .env.example to .env and configure
  3. Run development: npm start
  4. Build for production: npm run build
  5. Run tests: npm test
  6. Lint: npm run lint

Scripts