This project was generated with Angular CLI version 11.1.3.
Run ng test
to run tests.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
Simply enter a iso code in the search panel to see information about the country you've searched for.
Tested in chrome.
Some future improvements:
- Improve tests Test all components
- Responsive-ness Minor tweaks to make the search page responsive
- Handle non-country iso codes i.e sas - South Asia - The api can return partial data, in this case the app works but doesn't render the data very well.
- Better error handling All errors are handled as 404s, server errors should be handled seperatly.
- Better user input validation Is there a pattern to the iso codes? If so can we validate the input conforms to the standard?
- Cross-broswer testing Only tested in chrome