Usage
npx
npx create-react-app my-app --template star-pwa
Includes
- typescript
- axios
- redux
- redux-thunk
- redux-persist
- react-router
- styled-components
- eslint
- prettier
- stylelint
Features
- Static type checking with typescript
- Redux for app's state management
- Async data fetching with axios and redux thunk
- persisting app data with redux persist
- Routing with react router
- Eslint configuration that's compatible with prettier
- Styling with styled components
- Stylelint configuration that's compatible with styled components
- Pre-commit hooks that runs eslint, prettier and stylelint on your code before commit.
- Provide global theme management system
- Global app loading management
- Provide some basic components
- Configuration for PWA production update handling
- VS Code support
Note
- please see all project's
.ts
files at first. there are some comments in code for you. - because of create react app limitation all of dev dependencies (like eslint, prettier, stylelint, husky and lint-staged packages) added to dependencies. but you can move them to devDependencies manually
License
Licensed under the MIT license.