Coding and algorithm challenges completed on coderbyte.com
Coderbyte is a web application built to help you practice programming and improve your coding skills.
I am currently ranked #5 on the website out of 200,000+ users.
The purpose of this repository is to practice integrating several elements of software development. These include, but are not limited to:
- Algorithms implementation
- Git workflow
- Writing unit tests using Jest
Secondly, I have used this project to get used to using several other supplemental tools:
- ESLint
- Prettier
- JSDoc
I am using the practice I gain here in order to transition into behavior-driven development.
- Clone this repository
git clone https://github.com/bradhanson/coderbyte
cd coderbyte
- Install dependencies (just
jest
)
npm install
- Run the tests!
npm test
- Run test coverage report
npm run coverage
generate.js
is a script used to generate blank Coderbyte file templates. It handles the boilerplate setup of a new challenge. It converts the underscored file name into camelCase functions within the files.
cd coderbyte
node generate.js easy/ab_check
Will generate template files:
easy/ab_check.js
easy/ab_check.test.js
You can also run it from the current directory:
cd coderbyte/easy
node ../generate.js ab_check
// ab_check.js
// ab_check.test.js