freeCodeCamp/tools/daily-challenges
Tom a74e55ee4b
feat(curriculum): daily challenges 230-245 (#66511)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2026-03-17 20:14:32 +01: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 230-245 (#66511) 2026-03-17 20:14:32 +01: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.