Public-facing Angular app for EPIC (Environmental Assessment Information and Collaboration). Citizens view EA projects, submit comments, and access public documents.
Prerequisites: Node.js 24.x, Yarn 4.12.0 (via Corepack)
corepack enable
yarn install
yarn start # http://localhost:4200By default, src/env.js proxies /api and /analytics to the test environment. To use a local eagle-api instead, update API_LOCATION in src/env.js:
window.__env.API_LOCATION = 'http://localhost:3000';Restart the dev server — proxy.conf.js picks up the change automatically. Do not edit proxy.conf.js directly.
| Command | Description |
|---|---|
yarn start |
Dev server with hot reload (localhost:4200) |
yarn build |
Production build to dist/ |
yarn test |
Run unit tests (Vitest) |
yarn test:watch |
Run tests in watch mode |
yarn test:coverage |
Run tests with coverage report |
yarn lint |
ESLint check |
| Environment | URL |
|---|---|
| Dev | https://eagle-dev.apps.silver.devops.gov.bc.ca |
| Test | https://eagle-test.apps.silver.devops.gov.bc.ca |
| Prod | https://projects.eao.gov.bc.ca |
Full docs in the Eagle Dev Guides Wiki:
- Local Development — Setup guide for all EPIC apps
- Architecture Overview — System components and request flow
- Configuration Management — ConfigService and env.js pattern
- Deployment Pipeline — CI/CD workflows
- Troubleshooting — Common issues