This is a project with Alexis Graff, Steven Nagie, Joshua Baert, and Sterling Chin
We made this as a group project for our dev bootcamp
- Angular 1.5
- Express
- Node
- (most javascript was written with ES2015 compiled by gulp)
- Postgres
- JQuery
- Codemirror
- Docker
- Codewars Runner Cli (Mocha)
Using Github OAuth . . .
See completed katas and your solutions to them
Choose a random kata according to your kyu level range . . .
Complete the function
run tests and see if you have passed . . .
See all the solutions for that kata . . .
Sort through all of the katas and choose one to train . . .
To run our unit test we are using Codewars Runner CLI [link] (https://github.com/Codewars/codewars-runner-cli).
We have docker installed and brought down codewars/base-runner & codewars/node-runner.. This allows us to run the code within a Docker image that protect our server from any unhealthy code that may be ran inside hopefully preventing anything from bringing down the server.
Codewars Runner uses the Mocha unit-testing framework so the test have been written in mocha.
In node we are using exec to run a CLI to invoke docker and this image and then parsing the response into an object that allows the front-end to display with the describes and its correctly