Skip to content

ef-carbon/ef-hello-pairing-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pairing Interview

What you'll need

  • Laptop
  • Ability to serve an API
  • A client that can make API requests
  • Ability to execute automated tests
  • Ability to read data from JSON file

Intro

We want to introduce a new mobile feature that focuses on our user's progress through lessons. Currently, our users are unable to see how far they have progressed through the lessons we offer. By displaying their progress we hope to improve engagement, by motivating users to complete more lessons. We also want to include a leaderboard, so that we can introduce some friendly competition between our users.

Below is a design we have provided. We would like to see you implement an API that will provide the data for the mobile application.

Design

We have already collected the user's progress and have that stored in a JSON file progress.json as well as the structure of the lessons lessons.json. We would like you to use these data sources in your solution.

The pairing session is for X hours long, but we won't spend the whole time writing code. We like to leave plenty of time at the end for you to ask us any questions. Don't feel you have to rush a solution, you will not be judged on how far you get. We would much rather you give us a solution that you are proud of and feel best displays how you approach solving a problem.

Requirements

  • Display a user's overall lesson completion rate in percent.
  • Display the lesson that has the highest progress for the user, do not display lessons that have been completed.
  • Display the top three users with the highest overall lesson completion rate.

Output

  • We want to be able to expose the logic to our mobile application, so we would like to see it exposed through an API, how this is designed is up to you!
  • We value tested code, so it would be great to see this.

Tip

  • A completed lesson is when all of the sections belonging to a lesson have a progress score of 100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •