The application should connect to the following GraphQL endpoint https://rentancy-test.sourcestream.co.uk/graphql and
query it using getInventories: [Inventory] and display the list of Inventories (in rows) with the following information:
- Property
streetAddress - Property
city - Tenant
firstName - Tenant
lastName
When clicking on an inventory row, it should then query the GraphQL endpoint using getInventory(id: ID!): Inventory
and display the following information:
- Inventory:
wallsAndCeilings - Inventory:
windows - Inventory:
doors - Inventory:
lights - Inventory:
furniture - Inventory:
skirting - Agreement:
signedDate - Agreement:
contractStartDate - Agreement:
contractEndDate - Agreement:
deposit - Tenant
email - Tenant
firstName - Tenant
lastName - Property
streetAddress - Property
city - Property
county - Property
postcode
The test application should be written using ReactJS, but can use any libraries to help. Using a component library, such as React Material-UI will be looked at very favourably.
The GraphQL endpoint has been created using AWS' AppSync. There may be libraries that will aid you in connecting and querying the data.
Note: credentials for the GraphQL endpoint will be provided separately.
- All dependent libraries must be publicly available.
- Clear and concise instructions for how to build and run the application should be included within the code, e.g.
README.md - The code must be your own work. If you have a strong case to use a small code snippet of someone else's e.g. a boilerplate function, it must be clearly commented and attributed to the original author.
- The GraphQL must be queried in real-time.
The aim of this test is to understand your coding style, skills and approach to solving problems. We understand that you probably have plenty of other things that you'd rather be doing, so for that reason we estimate that the test should take approximately 3 ~ 4 hours. If after that time you have an unfinished project, that's fine. Just document what you would have done to complete it, and submit to us.
You should choose an approach that you feel demonstrates your expertise and suitability for the position.
PLEASE DO NOT TRY AND PUSH YOUR CODE INTO THIS REPOSITORY. This project is merely a location to hold the description of the test.
Preferably you will submit your code via a public repository you own e.g. your own Github or Bitbucket account. However, you may also submit your code via email or file sharing mechanism
- e.g. Dropbox - using an archive, such as zip file or tarball (please consider the size of the file before emailing).
If you have any problems with accessing the GraphQL endpoint, or you find that it is not responding correctly, please let us know by emailing declan.newman@sourcestream.co.uk so we can rectify it.
