Skip to content

docs: add guide for testing with a local FCC Proper - #685

Open
NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:docs/fcc-proper-integration-guide
Open

NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:docs/fcc-proper-integration-guide

Conversation

@NewtonLC

Copy link
Copy Markdown
Contributor

Replaces #608. That branch is far behind main, so this PR redoes its changes on top of the current main.

Adds a README guide for running Classroom with a local FCC Proper, and a test for a student who revoked consent.

Changes Made:

  • README.md: adds "Test with a local FCC Proper". It shows how to set up both apps, test the join flow (get-user-id), and test the dashboard data (get-user-data). The steps use the current commands and the seed users, so you do not need Auth0 for Classroom or role changes in Prisma Studio.
  • __tests__/utils/fccApi.test.ts: when the API response leaves out a student's fCC user ID because the student revoked consent, fetchClassroomStudentData drops that student and keeps the others.

No app code changes. On Node 26, pnpm test (325 tests) passes.

@NewtonLC
NewtonLC requested a review from a team as a code owner October 27, 2026 02:44
@NewtonLC NewtonLC mentioned this pull request Oct 27, 2026
2 tasks done
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.

1 participant