Code Monkey home page Code Monkey logo

nedelcho-dinev-employees's Introduction

nedelcho-dinev-employees

  • Live Site URL: Link

Task

Pair of employees who have worked together
Create an application that identifies the pair of employees who have worked
together on common projects for the longest period of time.

Input data:
A CSV file with data in the following format:
EmpID, ProjectID, DateFrom, DateTo

Sample data:
143, 12, 2013-11-01, 2014-01-05
218, 10, 2012-05-16, NULL
143, 10, 2009-01-01, 2011-04-27
...

Sample output:
143, 218, 8

Specific requirements

  1. DateTo can be NULL, equivalent to today
  2. The input data must be loaded to the program from a CSV file
  3. Create an UI:
    The user picks up a file from the file system and, after selecting it, all common
    projects of the pair are displayed in datagrid with the following columns:
    Employee ID #1, Employee ID #2, Project ID, Days worked
  4. The task solution needs to be uploaded in github.com, repository name must be in
    format: {FirstName}-{LastName}-employees

Bonus points

  1. More than one date format to be supported, extra points will be given if all date formats are supported
    Delivery time
    One day after receiving the task.

How to import data

CSV test files with employees data are located at root/src/data

P.S. There are several files with different types of data that the application can support:

How to start

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Built with

nedelcho-dinev-employees's People

Contributors

neddinev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.