Backend Integration Policy
Once the UI Design is ready or agreed upon, "waiting for backend" is not an acceptable excuse.
Guidelines
- Developers must be able to:
- Create mock requests and responses based on the agreed API design.
- Or define the expected API response shape themselves if it has not yet been provided.
- Implementation should proceed with mock services first. When the backend is ready, swap the mock call with the real API call.
- In most cases, the only change should be replacing the mock client with the actual API client, without refactoring the UI or logic.
- This approach speeds up frontend development and decouples it from backend readiness, allowing teams to work in parallel.