Frontdend Assignment
Frontdend Assignment
md 7/16/2021
Expectation
Do not use any 3rd party library for table
React + Redux usages
Table should work as per features set
Use best practices - your code quality matters.
Minimal library dependency for other components
Table Columns
Tables columns can be
Date
App Name
AD Request
AD Response
Impression
Clicks
Revenue
Fill Rate ( = Ad Request / AD Response * 100%)
1/3
assignment.md 7/16/2021
API
To Get All report by date
Request
/GET http://go-dev.greedygame.com/v3/dummy/report?startDate=YYYY-
MM-DD&endDate=YYYY-MM-DD
e.g: http://go-dev.greedygame.com/v3/dummy/report?startDate=2021-05-
01&endDate=2021-05-03
Response
{
cache_time: 20, //in second
data: [
{
date: "2021-07-07T00:00:00Z"
app_id: 212211,
requests: 36249787, // ad request
responses: 36329805 // ad response
impression: 35318801
clicks: 328202,
revenue: 5742.423646628184
},
//...
]
}
/GET http://go-dev.greedygame.com/v3/dummy/apps
2/3
assignment.md 7/16/2021
Response
{
cache_time: 200, //in second
data: [
{
app_id: 212211,
app_name: "Candy Crush"
},
{
app_id: 5612223,
app_name: "Call Of Duty"
},
//...
]
}
If you have any doubt regarding questions, feel free to reach out [email protected]
3/3