The purpose of this project is to have a Weathermap api client
- Weather information for random city
- Circular search until finds a valid city
- Search by Country/City
- Cache strategy for previous searches
- Angular 9
- Angular Material
- Font Awesome
- Moment
- Open Weather Map API
- Flag icon CSS
- You'll need node installed. You can find it on Nodejs
- Using your terminal of choice, from the project source folder run the command:
$ npm install
This command should install project dependencies and also the angular-cli
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.
Run npm run compodoc
to create or renew the documentation. It also opens an http-server via compodoc itself, which will be available under http://localhost:8080/
.
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.
Run ng test
to execute the unit tests via Karma.
Opitionaly you can run ng test --code-coverage
in order to generate visual information about code coverage.
Run ng e2e
to execute the end-to-end tests via Protractor.
- Use angular's form validator
- Better validate Country/City inputs
- Improve responsiveness and overall layout
- More e2e tests
- More validation against Open Weather API (Integration tests)
- Add more weather options (E.g next hours, next days)
- improve documentation (Compodoc)