0% found this document useful (0 votes)
10 views4 pages

EarnFlex - Frontend Developer Test - V1.1 - Mid-Level

Uploaded by

asmazahoor641
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

EarnFlex - Frontend Developer Test - V1.1 - Mid-Level

Uploaded by

asmazahoor641
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Business Entity: EarnFlex Ltd.

Role: Frontend Developer

Team: Software Engineering Location: Vehari (Office-Based)

Experience Required: Fresh Type: Full-time

Test Instructions

Please read the instructions carefully. You have 48 hours to complete the test and send
us the code in the .zip file at [email protected].

Important: To access any API, you must get an activation code from the API below. The
token expires every few seconds.

https://api.findofficers.com/hiring_test/get_activation_code

Programming Language(s) and Instructions

● Your code must be in HTML, JavaScript, Bootstrap, jQuery, React, Vue, or any
other front-end library you like.

● Write clean, readable, and working code, and host it somewhere if you can.
Otherwise, send working localhost files—we will run it within Nginx, so make
sure it's compatible.

● In addition, you must work with a few simple APIs to show an understanding of
data managed and displayed within a webpage. *For every API call, you need to
send an activation code as an input parameter

Task 1

Get all employee data from the below API and display it in a good-looking data
table. Apply sorting, searching, and pagination. ( see the example screenshot
attached)
● https://api.findofficers.com/hiring_test/get_all_employee
A sample table showing demo workers with associated data

Task 2
Get all employee's data from the mentioned API and display it on Google map ( see
example screenshot attached)

https://api.findofficers.com/hiring_test/get_all_employee

Use the Google Map key below; the key will be disabled after the test.

AIzaSyAUeSZglwfl9L2D5TsfI0mfjLAht9mkEjg

Note: please do not share this key with anyone.


A sample of Google Map with multiple points (Lat/Long) polotted on it

Task 3
Create a form that will tack input from user and post this information into database using this
mentioned API with input parameters, and example screenshot attached as well

https://api.findofficers.com/hiring_test/add_employee

{
"firstName": "Jacob",
"lastName": "Wilson",
"email": "[email protected]",
"phoneNumber": "+442034567890",
"latitude": "51.4545",
"longitude": "-2.5879",
"employeeID": "EMP011",
"city": "Bristol",
"country": "United Kingdom",
"activationCode": ""
}

A sample worker form to push data through the API

Support
Feel free to ask any question if you have related to this test, email at [email protected]

Good Luck!

– Just to remind again, the test need to be emailed back within 48 hours of the email that you
receive.

You might also like