Skip to content

isener/agilesphere-angular-test

 
 

Repository files navigation

AgileSphere test

Using the Free open weather map api (http://openweathermap.org/forecast5 api key has been included inside weather.service.ts)

  • Build an application that allows you to search the weather forecast for a city.
  • Every time a new city is searched - Add to a table of cities displaying the next 24 hours weather forecast.
  • Build the application using ng-rx

We have provided a skeleton application generated with Angular CLI version 1.7.3.

Expectations

  • Complete the components(search, results and the weather container)
  • Complete the Weather.service.ts, using the API provided by the openweathermap for a given city
  • Complete the unit test files (*.spec.ts).
  • Complete the End to End test using Protractor.
  • Intrfaces have been provided in model/weather.ts. Please use these interfaces.
  • An example layout table is provided inside the results component.Please use this as template.
  • We expect the application to compile and all the tests to pass.
  • Please upload your code to GITHUB and once you are done send us the link.

Development server

Run npm start for a dev server. App will open here http://localhost:4200/. The app will automatically reload if you change any of the source files.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running e2e tests

Run ng e2e to execute the e2e tests via Protractor.

About

Test for angular developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 84.2%
  • HTML 9.3%
  • JavaScript 6.5%