mestafrica / digitizing-the-ges-curriculum

Alpha Virtual Academy Ltd proposes the Litmus Test Project as a Digital Public Goods. The Platform would house competency frameworks and edtech platform assessments for basic and senior high education as well as out of school vocational and technical education in Ghana.
MIT License
0 stars 14 forks source link

Implement API Key Validation for Secure Access(Backend) #81

Open emmanuelAkpe opened 3 weeks ago

emmanuelAkpe commented 3 weeks ago

Description: Set up backend logic to validate API keys for all curriculum API endpoints, ensuring only authorized access. Tasks: Create middleware to check for a valid API key in request headers. Implement error handling for missing or invalid API keys.

Acceptance Criteria: Only requests with valid API keys can access the curriculum API endpoints. Appropriate error responses are returned for missing or invalid API keys. Validation logic is thoroughly tested for edge cases.