This is the command line application that is being used as exercises engine for the breathecode platform, it is being used in different projects like 4Geeks Academy React Exercises.
The whole idea of the project is that teachers can create autograded exercises really fast an simple, in any technology and without the nead of any website 3rd party server.
$ bc run:exercises
And the BreatheCode CLI will start a local server with all instructions and a coding editor for the solutions like this:
You can follow these steps:
- Create your project folder anywhere in your computer and name it however you want.
- Get inside that project folder and create a new folder for each exercise that you would like your students to complete.
- Inside each exercise folder you cna ahve 3 files:
README.md
with the instructions of the exercise.index.js
this will be the default content that student will se on the exercise, they should update this file to complete the exercise. You can add a boilerplate and also some comments to help students.tests.js
: Here is where you auto-grade the exercises, you have to create a testing scrip using the jest library. More testing libraries will be added later for other languages.