Skip to content

feat: integrate fCC API for student completion data#602

Open
NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:feat/freecodecamp-API-Integration
Open

feat: integrate fCC API for student completion data#602
NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:feat/freecodecamp-API-Integration

Conversation

@NewtonLC

@NewtonLC NewtonLC commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Checklist:

Closes #548

This PR is a re-opening of #585, which belonged to @raisedadead.

raisedadead and others added 2 commits March 6, 2026 14:04
  Connect the classroom app to freeCodeCamp's service-to-service API
  endpoints for fetching real student completion data instead of mock
  json-server data.

  - Add util/fcc-api.js (Bearer token auth, auto-batching at 50 IDs)
  - Add fetchClassroomStudentData() to fetchStudentData.js
  - Resolve fccProperUserId on student join (non-blocking)
  - Dashboard pages conditionally use fCC API when FCC_API_URL is set
  - Add FCC_API_URL and TPA_API_BEARER_TOKEN to .env.sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Integrate with freeCodeCamp Proper's API for getting student dat

2 participants