This is a React app interview challenge. Please fork this repo, and push your code to a branch in your forked repo (following the instructions below).
In this exercise you will create a spacex launch table that has sorting, search and pagination. Data will be available at the endpoint provided in the .env file. Note: It is not required to finish implementing all the features.
First off, look at the prototype to see what the end result should look like.
Designs can be found here. An invite is need to access them. Please provide an email you would like to use for the invite. The assets are available in the assets folder.
- You can find the playground to see the schema and make queries here.
- For this challenge we will query the Entity called
launchesPast. - After you get all of the past launches, render them in a table with the columns as in Designs.
- Clicking a row of the table should take you to a detail screen of that launch.
- All columns should be sortable in
asc/descorder. Default order should be by Launch'slaunch_year. Make use of GraphQL queries. - Search should only be implemented for Launch's
mission_name. Make sure to use a GraphQL query.
- Make sure to implement the UI/UX according to the Designs provided. We highly value attention to detail.
- Please use Apollo client with hooks to query the data (packages should already be installed - check
package.json).
- Fork this repo
git@github.com:hanekedesign/react-coding-exercise.git - Make sure you are inside of the repo you just cloned, by running
cd react-coding-exercise - Run
yarnto install all dependencies - Run
yarn startto start the app - Open
http://localhost:3000in your browser