freeCodeCamp/curriculum
Lauren Van Sloun 0d5fec5e21 Fixed typo issue in Iterate Over All Properties 2018-10-09 02:54:25 +05:30
..
challenges Fixed typo issue in Iterate Over All Properties 2018-10-09 02:54:25 +05:30
docs chore: preparing for the move 2018-09-27 12:36:41 +05:30
formattingConversion chore: preparing for the move 2018-09-27 12:36:41 +05:30
math-challenges chore: preparing for the move 2018-09-27 12:36:41 +05:30
requiresTests chore: preparing for the move 2018-09-27 12:36:41 +05:30
schema chore: preparing for the move 2018-09-27 12:36:41 +05:30
.babelrc chore: preparing for the move 2018-09-27 12:36:41 +05:30
.editorconfig chore: preparing for the move 2018-09-27 12:36:41 +05:30
.eslintignore chore: preparing for the move 2018-09-27 12:36:41 +05:30
.eslintrc chore: preparing for the move 2018-09-27 12:36:41 +05:30
.npmignore fix(pkg): Reintroduce build step 2018-10-05 15:58:12 +01:00
.prettierrc chore: preparing for the move 2018-09-27 12:36:41 +05:30
.travis.yml chore: preparing for the move 2018-09-27 12:36:41 +05:30
CHANGELOG.md chore: preparing for the move 2018-09-27 12:36:41 +05:30
LICENSE.md chore: preparing for the move 2018-09-27 12:36:41 +05:30
README.md chore: preparing for the move 2018-09-27 12:36:41 +05:30
addAssertsToTapTest.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
challengeTitles.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
commitizen.config.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
commitlint.config.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
create-challenge-bundle.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
getChallenges.js chore(pkg): Prep md parser for publish 2018-10-05 15:58:12 +01:00
gulpfile.js fix(pkg): Reintroduce build step 2018-10-05 15:58:12 +01:00
index.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
lib.js fix(pkg): Reintroduce build step 2018-10-05 15:58:12 +01:00
md-conversion.js feat(getChallenges): Get Challenges by Lang 2018-10-05 15:58:12 +01:00
mongoIds.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
package-entry.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
package-lock.json chore: update lockfile and check CI 2018-10-09 02:03:42 +05:30
package.json fix(pkg): Reintroduce build step 2018-10-05 15:58:12 +01:00
repack.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
test-challenges.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
unpack.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
unpacked.css chore: preparing for the move 2018-09-27 12:36:41 +05:30
unpacked.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
unpackedChallenge.js chore: preparing for the move 2018-09-27 12:36:41 +05:30
utils.js feat(next): BREAKING New curriculum package 2018-10-05 15:58:12 +01:00

README.md

freeCodeCamp Social Banner

freeCodeCamp Curriculum

Build Status npm (scoped) Pull Requests Welcome first-timers-only Friendly

This package contains the "challenge" files used in the freeCodeCamp Curriculum.

Installation

npm i @freecodecamp/curriculum
# or
yarn add @freecodecamp/curriculum

Usage

import { getChallenges } from '@freecodecamp/curriculum';

// fetch an array of blocks
// i.e. basic CSS, functional programming, etc.
getChallenges()

block Structure

{
  "name": "ES6",
  "order": 2,
  "time": "5 hours",
  "helpRoom": "Help",
  "challenges": [/*<challenge>*/],
  "fileName": "02-javascript-algorithms-and-data-structures/es6.json",
  "superBlock": "javascript-algorithms-and-data-structures",
  "superOrder": 2
}

challenge Structure

{
  "id": "ObjectId()",
  "title": "Declare a Read-Only Variable with the const Keyword",
  "description": [
    "A Description of the challenge and what is required to pass"
  ],
  "tests": [
    {
      "text": "should return \"foo\"",
      "testString": "a stringified function using Chai asserts"
    }
  ],
  "challengeType": 1,
  "translations": {},
  "files": {
    "indexjs": {
      "key": "indexjs",
      "ext": "js",
      "name": "index",
      "contents": [
        "Initial editor seed"
      ],
      "head": [
        "A place for test set up",
        "Can be thought of as mocha's beforeEach()"
      ],
      "tail": [
        "A place for test tear down",
        "Can be thought of as mocha's afterEach()"
        ]
    }
  }
},

Contributing

  1. 🍴 Fork this repo
  2. 👀 Follow the contributing guidelines outlined in Contributing Guidelines.
  3. 🔧 Make some awesome changes!
  4. 👉 Make a pull request
  5. 🎉 Get your pull request approved - success!

License

Copyright (c) 2018 freeCodeCamp.

The curricular content in this repo is licensed under the CC-BY-SA-4.0