This is the Cloud Snitch frontend.
- Install Node
- Run
npm installto install dependencies - Run
npm run generateto generate the API code - Run
ENV=prod.env npm run devto run the dev frontend against the prod API
To perform the docker build, the OpenAPI spec must be provided via build arg:
docker build --build-arg "OPENAPI_YAML=$(cat ../backend/api/apispec/openapi.yaml)" -t cloud-snitch-frontend .npm run check- Type check the codenpm run lint- Lint the codenpm run lint -- --fix- Lint the code and automatically fix issues