The web app frontend for the GrottoCenter project
This project uses Yarn & Yarn workspaces
For the backend server see GrottoCenter/grottocenter-api
yarn
to install dependenciesyarn start
to launch the appBy default the app use the production api as backend. To modify it change the
REACT_APP_API_URL
variable in thepackages\web-app\.env
file
Configurations:
eslint-config-typescript
prettier-config
ts-config
start
Start Grottocenter frontbuild
Build the Grottocenter frontlint
Check linting ruleslint:fix
Same as lint
but will also try to fix errorse2e:run
Run the end to end test suite (require a running app)e2e:open
Open the end to end test suite browser (require a running app)storybook
Start storybookGithub Actions is running 2 tasks on push and pull requests on develop
:
To prevent a bad commit, we use the Git hooks husky
Commitlint rules define in commitlint config