Skip to content

coolpankaj/nginx-countries

Repository files navigation

Countries

Countries web application

Check out the API documentation -

https://restcountries.eu/

This Public API documentation gives detailed information about various countries.

Angular application with following views -

1) All regions view -

A beautiful looking view displaying all the regions in the world(you may use free images/icon available on web). On clicking one of the regions, All Countries will open.

2) All countries view -

This should display all the countries of the selected region. There should be option to go back to previous view as well. This view should should display countries with country flags (image link available with api) as the image of the card and should display only the important details of that particular country like Name, Capital, timezone, Currency, Subregions etc. On clicking on a particular country in country view, a detailed view of that country will open.

3) Single Country view -

This view should use the flag of the country as cover image and display all the information about the countries in different and well differentiated sections of the page.

4) Currency Filter -

On clicking on currency name in any of the above view, all countries view should open again but this time with a currency filter applied. I.e it will display that currency filter has been applied, show the selected currency and will should the country list which have the same currency(irrespective of the region)

5) Language Filter -

On clicking a particular language in any of the above views, All countries view should open again, but this time with a language filter applied. I.e it will display the countries which have the selected language (irrespective of the region).

Authors

Acknowledgements

  • I would like to thank my friends who supports me during the development of this app.

Countries

This project was generated with Angular CLI version 6.0.8.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.