!!! Please clear local storage if you ran a previous version !!!
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches Cypress and run test suite.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Allows to test the production build locally
You can find diagram of the architecture, but please ask before edit :) here
src/
- components/ : shared components
- features/ : business views (the name features comes out of the bow with CRA, it's not that bad)
- services/ : api, and more...
- store/ : redux root store
let's have a look at the features folder. Business components are organized with the ducks logic
feature/
subfeature/
...
typical component folder :
- index.jsx: entry point
- styles.modules.css: post css scoped
- _store: when needed, and isolated with context
- _components/: business logic sub components
- Persist whitelist doesn't whitelist at all
- Redux dev tools are disabled because they make Cypress crash, damn
- API comes with invalid data (2 objects with the same id), but you already know
- when adding a step, a user is automatically selected (the first available in the list)
- when adding a step, a range is automatically provided
- approval steps starts from 0
- validate approval steps edit with a form (Formik)
- manage steps data update with useReducer