Standardize API Base URL Usage in Frontend #145

Open
opened 2026-03-26 09:11:06 +01:00 by kincses · 0 comments
Owner

Objective: Standardize API base URL usage across all frontend components to prevent hardcoded URLs and mismatches.

Target Files:

  • Frontend config:
  • All Vue components making API calls
  • Environment configuration

Acceptance Criteria:

  1. Single source of truth for API base URL
  2. All API calls use consistent base URL
  3. Easy environment switching (dev/staging/prod)
  4. No hardcoded or similar in components

Execution Steps:

  1. Audit all frontend components for hardcoded API URLs
  2. Create centralized API configuration
  3. Update all components to use the centralized config
  4. Test all API calls still work
  5. Add environment variable support

Technical Details:

  • Estimated effort: 1 day
  • Dependencies: None
  • Priority: P1 (improves maintainability)
**Objective:** Standardize API base URL usage across all frontend components to prevent hardcoded URLs and mismatches. **Target Files:** - Frontend config: - All Vue components making API calls - Environment configuration **Acceptance Criteria:** 1. Single source of truth for API base URL 2. All API calls use consistent base URL 3. Easy environment switching (dev/staging/prod) 4. No hardcoded or similar in components **Execution Steps:** 1. Audit all frontend components for hardcoded API URLs 2. Create centralized API configuration 3. Update all components to use the centralized config 4. Test all API calls still work 5. Add environment variable support **Technical Details:** - Estimated effort: 1 day - Dependencies: None - Priority: P1 (improves maintainability)
kincses added this to the Phase 1: Core Functionality Fixes milestone 2026-03-26 09:11:06 +01:00
kincses added the Status: To DoScope: FrontendType: Refactor labels 2026-03-26 09:11:06 +01:00
Sign in to join this conversation.