My personal, full-fledged react starter that is also suitable for enterprise use
Go to file
2022-06-30 11:03:31 +02:00
.husky reconfigured husky for the new version 2022-06-27 18:21:31 +02:00
.vscode added cypress 2022-06-27 18:04:55 +02:00
config - Updated to React 18 2022-06-27 16:41:03 +02:00
cypress added cypress 2022-06-27 18:04:55 +02:00
public added cypress 2022-06-27 18:04:55 +02:00
scripts added cypress 2022-06-27 18:04:55 +02:00
src added cypress ignores and removed a space for the navbar 2022-06-30 11:03:31 +02:00
.babelrc - Updated to React 18 2022-06-27 16:41:03 +02:00
.browserslistrc - Updated to React 18 2022-06-27 16:41:03 +02:00
.dockerignore - Updated to React 18 2022-06-27 16:41:03 +02:00
.editorconfig - Updated to React 18 2022-06-27 16:41:03 +02:00
.eslintignore - Updated to React 18 2022-06-27 16:41:03 +02:00
.eslintrc added cypress 2022-06-27 18:04:55 +02:00
.gitignore added cypress ignores and removed a space for the navbar 2022-06-30 11:03:31 +02:00
.nvmrc - Updated to React 18 2022-06-27 16:41:03 +02:00
.prettierrc.js - Updated to React 18 2022-06-27 16:41:03 +02:00
CHANGELOG.md added cypress 2022-06-27 18:04:55 +02:00
cypress.config.ts added cypress 2022-06-27 18:04:55 +02:00
Dockerfile - Updated to React 18 2022-06-27 16:41:03 +02:00
jest.config.js - Updated to React 18 2022-06-27 16:41:03 +02:00
package-lock.json reconfigured husky for the new version 2022-06-27 18:21:31 +02:00
package.json reconfigured husky for the new version 2022-06-27 18:21:31 +02:00
README.md updated readme 2022-06-27 18:06:28 +02:00
tsconfig.json - Updated to React 18 2022-06-27 16:41:03 +02:00

react-starter-kit

Web project starter kit including modern tools and workflows based on create-react-app and best practices from the community. Provides a scalable base template and a good learning base. Suitable for enterprise usage

Includes:

  • Redux-toolkit
  • Vscode setup (debugging + snippets)
  • Jest, @testing-library and Cypress
  • Immer

Table of contents

Getting started

  1. npm install
  2. npm start (localhost:3000)
  3. 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