/ngCountriesAndCapitals

An angular app which navigates country information with the geonames API

Primary LanguageHTML

Countries And Capitals

This application navigates the geonames API. See a demo here.

Setup

  1. git clone this repo
  2. npm install in root directory
  3. bower install in root directory
  4. gulp to launch the http server
  5. To build gulp build

Implementation notes

The major complexity in this relatively simple app is dealing with asynchronous http requests. There are many ways to skin a cat when dealing with their return.

This was a thinkful.com exercise, and while they implied the use of services was necessary, I simply found that to increase verbosity for an app of this size. However an example of seperating is in the favourites branch. The first commit on that branch, is my favourite overall, it cleans up the asynchronous handling.

I also did not seperate the app into different files: I don't think it's large enough, and this is trivial.