The web app frontend for the GrottoCenter project
This project uses Yarn & Yarn workspaces
For the backend server see GrottoCenter/grottocenter-api
- Install NodeJs (v20 minimum) and Yarn
- Run
yarn
to install dependencies - Run
yarn start
to launch the app
By 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
eslint-config-typescript
prettier-config
ts-config
start
Start Grottocenter frontbuild
Build the Grottocenter frontlint
Check linting ruleslint:fix
Same aslint
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 storybook
Github Actions is running 2 tasks on push and pull requests on develop
:
- Lint
- Azure Static Web Apps deploy
### WIP
To prevent a bad commit, we use the Git hooks husky
Commitlint rules define in commitlint config