GrottoCenter / grottocenter-front

Grottocenter web client

Home Page:https://grottocenter.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grottocenter-front

The web app frontend for the GrottoCenter project

This project uses Yarn & Yarn workspaces

For the backend server see GrottoCenter/grottocenter-api

Getting Started

  • 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 the packages\web-app\.env file

Packages:

Scripts

  • start Start Grottocenter front
  • build Build the Grottocenter front
  • lint Check linting rules
  • lint:fix Same as lint but will also try to fix errors
  • e2e: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

CI

Github Actions is running 2 tasks on push and pull requests on develop :

  • Lint
  • Azure Static Web Apps deploy

Release and publish

### WIP

Production deployment (Azure)

Full wiki article

Project organization

Git-rules

Hooks

To prevent a bad commit, we use the Git hooks husky

Commit type

Commitlint rules define in commitlint config

About

Grottocenter web client

https://grottocenter.org

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 98.8%Language:CSS 0.7%Language:HTML 0.5%Language:Shell 0.0%