Frontend for the FlowApprove project, built with Angular 21.
- Overview
- Current Status
- Tech Stack
- Project Structure
- Environment Requirements
- Installation
- Running Locally
- Build
- Testing
- Backend Integration
- Known Limitations
- Next Steps
This repository contains the frontend application for FlowApprove.
At the moment, the frontend is still in the foundation stage. The main goal is to establish the application shell, feature routing, shared UI patterns, and the API integration layer that will be used once backend contracts are stable.
- The main application layout is already in place.
- Feature-based routing has already been set up.
- Shared UI building blocks and theme files already exist.
- The
api-clientfolder has been prepared for future generated or handwritten API clients. - Business features are not implemented yet.
- No finalized entity or domain model exists on the frontend yet.
- Some screens still rely on mock data for UI prototyping.
- Test coverage is still minimal.
- Angular 21
- TypeScript
- SCSS
- PrimeNG
- RxJS
- Vitest through the Angular builder
src/app
|- api-client/ API client layer reserved for backend integration
|- core/ Shared infrastructure such as interceptors and constants
|- features/ Feature-specific screens and flows
|- layout/ App shell, sidebar, topbar, loading overlay
|- shared/ Reusable models, types, and UI components
|- state/ App-level stores
`- theme/ Design tokens and global styles
- Node.js 20+
- npm 9+
Quick check:
node -v
npm -vInstall dependencies:
npm installStart the development server:
npm startDefault local URL:
http://localhost:4200
Create a production build:
npm run buildBuild output directory:
dist/flow-approve-web
Run tests:
npm testRun tests once without watch mode:
npm test -- --watch=falseCurrent base URL configuration:
baseUrl: '/api'This means the frontend is prepared to call the backend through the same origin or through a reverse proxy. If the frontend and backend are run separately in local development, a proxy or environment-specific configuration will need to be added later.
api-client/generatedis still a placeholder and has not been generated from OpenAPI yet.- Several feature services still return mock data.
- There is no finalized feature-to-API integration flow yet.
- Test coverage only covers basic application bootstrapping.
- The current screens should be treated as UI scaffolding, not as production-ready business functionality.
- Define real frontend models based on actual backend contracts.
- Replace mock services with real API integrations.
- Generate or implement the API client layer.
- Expand feature-level tests.
- Add environment-specific runtime configuration when FE and BE start running together.