Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Frontend Test
- ## JSON file (_conversations.json_):
- ```
- {
- "companies": [
- {
- "id": "58d2f242833ba7632f3eeb66",
- "name": "Soprano"
- },
- // ...
- ],
- "users": [
- {
- "name": {
- "first": "Virginia",
- "last": "Good"
- },
- "company_id": "58d2f2426403f53ae8dd2f75",
- "email": "virginia.good@hawkster.me"
- },
- // ...
- ],
- "conversations": [
- {
- "from": "celina.young@speedbolt.io",
- "subject": "laboris cupidatat consequat",
- "body": "Enim veniam ea occaecat laboris non esse nisi occaecat qui cillum laborum. Mteur esse reprehenderit sint incididunt. Fugiat dolor nostrud id tempor.",
- "date": 1464375347133,
- "to": [
- "may.hawkins@pivitol.ca",
- "marietta.whitley@polarium.me"
- ],
- "bcc": [
- "frederick.schmidt@insurety.us",
- "merle.bryant@rockyard.me"
- ],
- "tags": [
- "highlight",
- "suggestion",
- "question"
- ]
- },
- // ...
- ]
- }
- ```
- ## Test:
- You are part of a frontend engineering team at Front tasked with building an analytics dashboard using Javascript to present the following information about Front's customers:
- * Top 5 of the most active companies in the last N months (N = 1 through 6). We measure how active a company is by their number of conversations.
- * Top 5 of the most active users per company for these companies.
- * Top 5 pairs of work buddies. We should look at which pair of users talk the most to each other. Be sure to look at both To & Bcc fields.
- * Percent of inactive users per company in the last N months (N = 1 through 6). An inactive user is a user who has not initiated any conversation in that time period.
- * Total number of conversations sent per month.
- Your data team has made available a JSON API endpoint that returns data as in conversations.json.
- You can either have your frontend app use the JSON file directly, or return it through a node server.
- ## What to send
- When you are finished, please submit your work by sharing a link to a Dropbox or Google Drive folder (containing your code as well as a README file with instructions on how to run the code).
- Please do not publish your code online as we intend to reuse the technical assessment.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement