This project is to build an image works display board and provide the function of filtering to help the user find the work easily.
The tasks are:
- Consume a GraphQL API and retrieve the works data.
- Display the small thumb image of every work, and the information of camera make and model.
- The user can filter the works by camera make and model.
- Display "Unknown Model" and "Unknown Make" as the model or make for works which are excluded in API.
- Using React to create reusable components.
- Responsive UI design, mobile friendly.
- Spinner solution used when data loading.
- Alert solution used when improper filtering.
- Friendly error information will be appearing when there is the error occured.
- Reset button provided.
-
run npm start first and keep the program running
-
npm run test to launch the test
-
Node.js - Download and Install Node.js.
-
NPM - Install NPM for all dependencies both in server and client.
Install dependencies : npm install
Run the client : npm start
Run the unit test: npm run test