Skip to content

freeCodeCamp/daily-challenges

Repository files navigation

To Run:

  • Copy sample.env to .env - if seeding the development database, set ALLOW_SEED to true
  • Install dependencies with pnpm i
  • (Optional): Make sure mongo is running, and seed the database with pnum run seed. It will seed the placeholder challenge for the numbers of days according to the variables in the seed script - which is great for testing. Alternatively, you can seed using the seed script on the main repo, which will seed the actual challenges.
  • Run the server with pnpm run develop
  • Get challenge info at localhost:3000/api/daily-challenge/date/:date - e.g. http://localhost:3000/api/daily-challenge/date/3-20-2025 <- note the date format: M-D-YYYY

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •