-
There is a dependency on https://github.com/Amsterdam/zaken-backend
-
git clone https://github.com/Amsterdam/zaken-frontend.git
-
cd zaken-frontend
-
npm install
-
npm run swagger:generate-schema
-
npm run start
- When running zaken-frontend and zaken-backend locally, it's possible to bypass Keycloak authentication. See https://github.com/Amsterdam/zaken-frontend/tree/main/src/app/state/auth/keycloak.
- ADW account (@amsterdam.nl)
- GitHub repository (https://github.com/Amsterdam/zaken-frontend) OIS Basis
- GitHub repository dependency (https://github.com/Amsterdam/wonen-ui) OIS Basis
- GitHub repository dependency (https://github.com/Amsterdam/amsterdam-react-final-form) OIS Basis
- NPM (https://www.npmjs.com/settings/amsterdam/packages) OIS Slack #frontend-amsterdam
- It's possible to connect a locally run zaken-frontend to Acceptance API. Add
REACT_APP_API_HOST=https://acc.api.wonen.zaken.amsterdam.nl/api/v1/
to.env.development.local
. See .env.development for examples.
The main
branch is automatically deployed to acceptance.
Tag any branch, but preferably main, with a tag like v1.0.0
to deploy that specific commit
to production.
A npm run deploy:prod
convenience script is also available. This also guarantees the versions between the Git tag and NPM (package.json) are in sync.