Hiring Pattern
Hiring Pattern
Instructions
1. This is a time bound assignment. You will get 8 hours to complete this task.
2. Submit your code through GitHub and host the working application on GitHub or
Heroku or netlify.
3. Your submission should contain detailed instructions in READ.me, to help us
understand and run at our end.
4. Don't include any library files, instead provide instructions on how we can install at
our end.
5. You can use any framework of your choice, preferably React or Vue.
Judgement:
Requirements: You are required to replicate the card listing as given below
4. Design the card listing layout as per the design given below.
5. Since API response will be paginated you need to implement infinite scroll to fetch
more data, you can fetch 10 records per call.
9. You can share the code for review through GitHub and also host the application for
us to check.
You can use the following JSON structure for your mock API
data: [
name: 'Mixmax',
owner_id: 1,
spent: {
value: 100,
currency: "SGD"
},
available_to_spend: {
value: 1000,
currency: "SGD"
},
card_type: "burner",
expiry: 9 feb,
limit: 100,
status: 'active'
},
name: 'Quickbooks’',
owner_id: 2,
spent: {
value: 50,
currency: "SGD"
},
available_to_spend: {
value: 250,
currency: "SGD"
},
card_type: "subscription",
limit: 10,
status: 'active'
],
page: 1,
per_page: 10,
total: 100
}
Following are the designs for your reference:
Image 1:
Image 2: