Skip to content

Latest commit

 

History

History
 
 

README.md

Frontend

Angular frontend application (TypeScript + Tailwind) served by Nginx in containerized environments.

Local setup

cd frontend
npm ci
npm start

Or from project root:

make frontend

Local URL: http://localhost:4200

Full-stack local run

make dev

Expected local dependencies:

Testing and quality

npm run lint
npm run type-check
npm run test:ci

Coverage:

npm run test:ci -- --code-coverage

Build

npm run build

Build output is served by Nginx in Docker/ECS runtime.

Environment files

  • src/environments/environment.ts (local)
  • src/environments/environment.production.ts (production build)

These files only contain non-secret public config (for example API base URLs).

Structure

frontend/
├── src/
│   ├── app/
│   │   ├── components/
│   │   ├── services/
│   │   ├── core/
│   │   └── types/
│   └── environments/
├── angular.json
├── package.json
└── Dockerfile

CI/CD notes

  • ci.yml: lint, type-check, build
  • staging.yml and release.yml: build frontend image and push to ECR