Skip to content

ravebuild/js-coding-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rave Build JavaScript Coding Test

Welcome to the Rave Build JavaScript Coding Test! A lot of our product at Rave involves managing projects, and the tasks required to complete those projects. This is reflected in this codebase, which represents some common functionality at Rave. We expect to spend 30 minutes to 1 hour on this test. Your objectives are:

  1. Get the tests passing
  2. Make the code "production ready" (whatever that means to you)
  3. Note down any choices or assumptions you made and why in this README
  4. Note down what you would do if you had more time in this README
  5. Send us this repository (or a link to your fork)!

Installation

NodeJS installations can be quite complicated and there are many different versions, so we have Dockerised the dependencies for this test in an attempt to simplify getting it running. You need to:

  1. Clone this Git repository
  2. Install Make. For Windows follow one of these instructions. For MacOS, install with homebrew like brew install make. For Linux, use your package manager like apt install make.
  3. Install Docker. For Windows and MacOS we recommend installing Docker Desktop. For Linux distributions we recommend installing the Docker Engine.
  4. Check that Docker is working by running docker run hello-world.
  5. Run make install to install the NodeJS dependencies

Running the tests

Run make test to run the tests inside the running Docker container. If you'd like the tests to run automatically, run make watch.

Running index.js

Run make run to execute index.js. It is not required, but we have provided it if you would like to just run JavaScript code to debug things.

Choices or assumptions I made and reasons why

  • E.g. I assumed that task names were unique

Things I would do if I had more time

  • E.g. I would have rewritten it to use Rust because it's super fast and that's what Khan Academy did!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published