Awesome
<p align="center"> <a href="https://teachcode.madlabs.xyz/"><img src="https://i.imgur.com/BuMZB6C.png" width="240" height="240"></a> <h1 align="center">teachcode</h1> <p align="center"> A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding. </p> </p> <p align="center"> <a href="https://travis-ci.com/madlabsinc/teachcode"><img src="https://travis-ci.com/madlabsinc/teachcode.svg?branch=master" alt="Build Status" /></a> <a href="https://www.npmjs.com/package/teach-code"><img src="https://badgen.net/npm/v/teach-code" alt="npm version" /></a> <a href="https://www.npmjs.com/package/teach-code"><img src="https://badgen.net/npm/dm/teach-code" alt="Downloads" /></a> <a href="https://github.com/madlabsinc/teachcode/pull/new"><img src="https://img.shields.io/badge/PRs%20-welcome-brightgreen.svg" alt="PRs Welcome" /></a> <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" alt="code style: prettier" /></a> <a href="https://github.com/ulivz/awesome-vuepress"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome-VuePress" /></a> <a title="Chat on Telegram" href="https://t.me/teach_code"><img src="https://img.shields.io/badge/chat-Telegram-blueviolet?logo=Telegram"/></a> <a href="https://twitter.com/intent/follow?screen_name=teachcode_cli"><img src="https://img.shields.io/twitter/follow/teachcode_cli.svg?style=social&label=Follow%20@teachcode_cli" alt="Follow on Twitter"></a> </p> <p align="center"> <a href='https://www.buymeacoffee.com/jamesgeorge007' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png' border='0' alt='Buy Me a Coffee' /></a> </p>Chat: Telegram
Installation
npm install -g teach-code
How to use
Users are required to solve 30 tasks that take them through the basic constructs of the programming language of their choice. The tasks are designed in such a way that the complexity increases as users progress through the tasks. One can't move forward until the current task is completed. Previously submitted tasks can be viewed if he/she wants but can't be worked on again.
teachcode
expects you to have a GitHub account. Make sure that you create one if that's not the case.- Navigate to the directory of your choice and type in
teachcode init
. - Follow the instructions as prompted.
- Now type in
cd teachcode-solutions
. - Type in
teachcode fetchtask
. - Hurray :tada: you've got your first task.
- Now you can find a
config.json
andtask1.py
(language of choice) file within theteachcode-solutions
directory. - Open up your favourite editor and code up the solution.
- Now type in
teachcode submit
. - Enter your Git credentials when prompted.
- Fetch the next task with
teachcode fetchtask
.
Available Commands
command | description |
---|---|
teachcode init | Initializes all the tasks |
teachcode fetchtask [key] | Fetches the task correponding to the key if provided (defaults to the very next task) |
teachcode submit | Submits the current task |
teachcode showkeys | Lists all the keys associated with the submitted tasks |
Contributing
Contributions of any kind are welcomed. Make sure that you go through these guidelines.
How should I write a commit message?
This project uses Commitlint to check if the commit messages meet the conventional commit format.
The full pattern is:
type(scope?): subject #scope is optional
body? #body is optional
footer? #footer is optional
Following that pattern, your commit messages should look like these:
feat: activate open collective
chore: correct typo
It should be "guest" and not "gest"
refactor(cli): drop support for node 6
BREAKING CHANGE: you will need to update your node version to keep using this CLI
This closes #123
How should I name my branches?
Prefix your branch names with feat/
, docs/
or hotfix/
for feature proposals, documentation and bug fixes, respectively.
License
Licensed under GNU General Public License V3.0
.