From this public country graphql endpoint: https://github.com/trevorblades/countries
Add a searchable and sortable dropdown using the information provided by the endpoint
When the item is selected it should display a paper with country name, language, code and phone
Scored aspects in no particular order
- Use of react hooks
- Code quality and style
- Performance
- Git good practices
- Completion of the task
- Styled visualization of selection
Bonus points
- Improve the project structure
- Include the flag of the country
- Error handling
- Debouncing
The challenge should take between 1 to 2 hours Any extra info that you need don't hesitate to ask the interviewer via email Good luck!
Install it and run:
npm install
npm run dev