Skip to content

companioco/nodejs-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js code challenge for engineering applicants - Team Points Project

The purpose of this project is to give you an opportunity to showcase your coding style with node.js.

This is not meant to take longer than the typical 30 min code interview.

You can use any tools (IDE, npm, ...) and resources (google, stackoverflow,...) you use in your day to day.
However, you should come up with the implementation on your own.

Overview

Every night we receive list of players with their: name, team, status, and points for the day.
We need a function that aggregates points by team, and sorts teams in descending order by total points.
Only active players should be considered for team points calculation.

Requirements

  • Code must be written using standardjs convention

  • Code should run in Node 14.18.1

Submitting the project

  • Clone this repo
  • Implement a working solution for calculateTeamPoints
  • Create a secret gist with the code for:
    • calculateTeamPoints.js
    • calculateTeamPoints.test.js
  • Submit the gist link to your PGA contact
  • Adding a README file for repo is mandatory and README should have steps to run code.
  • Only Javascript code will checked in code review. We are not concern about HTML styling.
  • You have to submit assignment within 3 days after you receive email for assignment.

About

Node.js interview assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published