Hi there!
In this home assignment you'll be developing a dashboard for Pull Requests. We provided you with a simple API to fetch PRs from the node github repo.
The client should display a list of all PRs fetched from the server. Each PR should display the following properties:
- PR number.
- Title.
- Description.
- Author (name + picture).
- Status (Draft/Open/Closed).
- Labels.
- Creation Date.
We should be able to filter by:
- PR status (Draft/Open/Closed).
- Labels.
We should be able to sort(asc/desc) by:
- PR number.
- Title.
The dashboard should be designed as you see fit :) You're also free to use any library you want to. As for the framework, we prefer React.
- Separation of concerns - good directory/component structure.
- Readable code.
To run the server, run npm run start:server
.
The route for the API is [http://localhost:3001]/api/vcs/prs.
To run the client in development mode, run npm run start:client
and develop away :)
Please send us a zip file/github repo with your solution when you finish. The assignment should take roughly four hours, if you find yourself working on it longer than that, please let us know. Also, if you have any questions please don't hesitate to reach us through email or the phone!
Enjoy!
-- Trust-IT R&D