mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-04-09 00:33:08 +02:00
react-starter-kit
Web project starter kit including modern tools and workflow based on create-react-app, best practices from the community, a scalable base template and a good learning base.
Includes:
- Redux-toolkit
- Vscode setup (debugging + snippets)
- Jest, @testing-library and Cypress
- Immer
Getting started
npm install
npm start
(localhost:3000)npm test
(run jest + coverage on localhost:8080)
Project structure
Only the important files are shown
.
├── .vscode # vscode setup (debug, snippets, etc)
├── config # tool configuration
├── cypress # e2e tests
├── dist # production version
├── public # directory with public files (config, icons, etc)
├── scripts # Modified default create-react-app scripts
├── src # application source
│ ├── app # redux-toolkit hooks + store
│ └── infrastructure # infrastructure code (wrappers, navigation, config file class)
├── CHANGELOG.md # update this whenever you update the application
├── Dockerfile # Dockerfile to build nginx container
├── jest.config.js # configuration for jest
├── package.json
├── README.md # keep this up to date
└── tsconfig.json
Description
Languages
JavaScript
69.1%
TypeScript
28.7%
CSS
1.2%
HTML
0.7%
Dockerfile
0.2%
Other
0.1%