SPA showcasing Weather and Forecast from different cities. This assignment is made to present at Backbase.
This project was generated with Angular CLI version 7.3.9.
- Implement UT
- Implement E2E Test
"We will use Open Weather Data to create a single page application that presents a list of 5 European cities (you can choose the ones you prefer). Your goal is to get the current weather situation displaying the city name plus average temperature and the wind strength. Clicking on an item shows the forecast in the next hours. You can adjust the UI how you see fit for the best result but sticking to a single page application is mandatory. We would prefer if you will deliver the code using BitBucket (private repo) but also a zip file is fine.""
Run npm run start:dev
for a dev server. http://localhost:4200/
.. The app will automatically reload if you change any of the source files.
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
.
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.
A basic Express server is provided, after you build the application you can run it using the following command on the command promt npm start
.
Then Navigate to http://localhost:3000/
.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.