4lg4 / overlapping-shift-and-users-hierarchy

Challenge overlapping shift and users hierarchy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overlapping-shift-and-users-hierarchy

Challenge overlapping shift and users hierarchy Task requeriments

Important

This Challenge was writen using tests to demonstrate the entire functionalities, so there is no build scripts. If you want to know better about the test cases or add more cases you can add in the test/ folder. Inside de test folder has a file called backend-mock which has the entry samples to be tested. (see Test section)

Frameworks, Libraries and Tools

  • NPM as dependency manager;
  • Mocha as test framework;
  • Chai as BDD/TDD assertion library;
  • ESLint as lint tool (google config);

Manual installation

Make sure that you are using the NodeJS version is the same as .nvmrc file version. If you don't have this version please use a version manager such as nvm or n to manage your local nodejs versions.

Please make sure that you are using the correct NodeJS version :) Assuming that you are using nvm, please run the commands inside this folder:

$ nvm install $(cat .nvmrc); # install required Node.js version
$ nvm use $(cat .nvmrc); # use Node.js version
$ npm install

In Windows, please install NodeJS using one of these options:

Via NVM Windows package: Dowload via this link. After that, run the commands:

$ nvm install $(cat .nvmrc); # install required Node.js version
$ nvm use $(cat .nvmrc); # use Node.js version
$ npm install

Via Chocolatey:

$ choco install nodejs.install -version v8.9.4

Test

    npm run test:unit

Author

Alga Leal (4lg4)

About

Challenge overlapping shift and users hierarchy


Languages

Language:JavaScript 100.0%