This file holds only the facts that the code, package.json and README.md do not show. For setup, ports, seed users and tests, read README.md.
- Write commit messages and pull request titles as
type(scope): subject. See https://contribute.freecodecamp.org/how-to-open-a-pull-request. - Before you push, run
pnpm run lintandpnpm test.pnpm run lintalso runs the type check and the format check.
- Import
toastandToastContainerfromreact-toastify/unstyled. The package root andreact-toastify/unstyledare separate bundles with separate containers, so a toast from the other entry point does not show. postinstallgenerates the Prisma client intogenerated/, which Git ignores. After you changeprisma/schema.prisma, runpnpm exec prisma generate. Import the client fromprisma/prisma.ts.- At boot,
instrumentation.tschecks the environment withutil/env.tsand stops the server on a problem. Add a new required variable toutil/env.tsand to.env.sample. prisma/seed.tsrefuses a database that is not local (util/seedGuard.ts). Keep this check.- The dashboards read the freeCodeCamp API when
FCC_API_URLis set. Otherwise, they read the mock data server (pnpm run mock-fcc-data, port 3002).
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices.
This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.