GitHub - useStable/code-exercise

Stable | Code Exercise

For this exercise, you'll implement a simple web application for users to view physical mail they've recently received at a Stable facility. Once the web application is complete, you'll deploy it for anyone with the public url to view.

This exercise should take 2 - 4 hours to complete.

Business Requirements

  • The web application resembles the provided mock ups
  • The web application is accessible from the public internet

Technical Requirements

  • Users can view 6 mail items per page, with a maximum of 3 mail items per row
  • Users can click through multiple pages when there are more than 6 mail items to display
  • Users can easily interact with the web application in all screen sizes
  • The mock mail item data provided in the data.json file is served to the frontend via an endpoint
  • The codebase is pushed to a remote repository

Resources

Schema

Defined in GraphQL Schema Language

type MailItem {
	id: String!

	businessRecipient: String
	forward: ActionDetails
	from: String!
	imageUrl: String!
	individualRecipient: String
	scan: ActionDetails
	shred: ActionDetails
	timestamp: Number!
}


type ActionDetails {
	status: Status!
}

enum Status {
	completed
	processing
}

Suggested Frameworks / Libraries

  • React
  • Reactstrap

Submission Instructions

  • Share the repository link and public url of the deployed application with your point of contact at Stable

Good luck!