freeCodeCamp/tools/daily-challenges
Tom d0e24db0f8
feat(curriculum): daily challenges 295-311 (#67606)
Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
2026-05-29 15:07:12 +00:00
..
.lintstagedrc.mjs refactor: one eslint task per workspace (#63835) 2025-11-21 19:21:46 +05:30
eslint.config.js refactor: one eslint task per workspace (#63835) 2025-11-21 19:21:46 +05:30
helpers.ts fix(tools): update daily challenge seed for Gatsby 5 (#65933) 2026-02-18 19:05:47 +05:30
package.json chore(deps): update dependency mongodb to v6.21.0 (#67028) 2026-04-21 14:09:26 +05:30
README.md
sample.env
seed-daily-challenges.ts feat(curriculum): daily challenges 295-311 (#67606) 2026-05-29 15:07:12 +00:00
tsconfig.json refactor: one eslint task per workspace (#63835) 2025-11-21 19:21:46 +05:30
types.ts refactor: simplify sourcing of challenge nodes into gatsby (#63697) 2025-11-11 09:34:24 +01:00

Script to seed the daily challenges. Used to seed challenges for local or production databases.

To run:

Copy the sample.env to .env, Make sure dependencies are installed, Run the main client with upcoming changes shown - this is so the script can get the challenges from GraphQL, cd tools/daily-challenges to go into the daily-challenges folder, Run pnpm seed-daily-challenges to seed the challenges from the "Dev Playground" superblock to a DailyCodingChallenges collection in the freecodecamp database.