freeCodeCamp/tools/daily-challenges
Tom cb65db51e7
feat(curriculum): daily challenges 213-222 (#66191)
Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
Co-authored-by: Sem Bauke <sem@freecodecamp.org>
2026-03-03 14:52:51 -06: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: use turborepo for type checking (#64455) 2026-01-19 19:05:27 +05:30
README.md feat: add daily challenge seed script (#60506) 2025-06-18 20:29:49 +02:00
sample.env feat: add daily challenge seed script (#60506) 2025-06-18 20:29:49 +02:00
seed-daily-challenges.ts feat(curriculum): daily challenges 213-222 (#66191) 2026-03-03 14:52:51 -06: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.