Skip to content

Fix hardcoded API URLs - use environment variables #50

@deepsonK

Description

@deepsonK

File: frontend/src/*.js (multiple files)\n\nIssue: API endpoints are hardcoded to localhost:5000\n\nDifficulty: Medium\n\nWhat to do:\n1. Create .env file with REACT_APP_API_URL variable\n2. Replace all hardcoded URLs with process.env.REACT_APP_API_URL\n3. Test in development and production\n\nFiles to fix:\n- App.js\n- pages/Home.js\n- pages/Students.js\n- pages/Courses.js

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions