https://github.com/snehanjanchatterjee/weather-dashboard
A weather dashboard made using Angular and openweathermap API https://snehanjanchatterjee.github.io/Weather-Dashboard/
https://github.com/snehanjanchatterjee/weather-dashboard
angular9 jasmine-framework karma openweathermap-api typescript weather-app weather-dashboard-application weather-forecast
Last synced: about 1 month ago
JSON representation
A weather dashboard made using Angular and openweathermap API https://snehanjanchatterjee.github.io/Weather-Dashboard/
- Host: GitHub
- URL: https://github.com/snehanjanchatterjee/weather-dashboard
- Owner: SnehanjanChatterjee
- Created: 2021-07-01T13:04:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-01T15:53:19.000Z (over 1 year ago)
- Last Synced: 2025-02-01T16:32:04.037Z (over 1 year ago)
- Topics: angular9, jasmine-framework, karma, openweathermap-api, typescript, weather-app, weather-dashboard-application, weather-forecast
- Language: TypeScript
- Homepage: https://snehanjanchatterjee.github.io/Weather-Dashboard/
- Size: 18.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherDashboard
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.0.
Deployed at: https://snehanjanchatterjee.github.io/Weather-Dashboard/
## Note
OpenWeather has discontinued its free access to API v2.5 (without subscription model), so the app is currently not functioning.
## To upload project
https://docs.github.com/en/github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line
## Deployment to Github Pages
Process: https://angular.io/guide/deployment
## API
https://openweathermap.org/api
## 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 --output-path docs --base-href /Weather-Dashboard/` OR `npm run docs-build` in Command Prompt to build the project. The build artifacts will be stored in the `docs/` directory. Use the `--prod` flag for a production build.
When the build is complete, make a copy of docs/index.html and name it docs/404.html
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
## Dependencies
- Angular CLI v9.0.0
- NodeJs 14.17.4
- Bootstrap v5.1.0
- Angular Material UI
- Font Awesome v4.7.0
- Charts: https://xieziyu.github.io/ngx-echarts/#/welcome
- Installation:
- v4.9.0
npm install echarts@4 -S
- v5.2.2
npm install ngx-echarts@5 -S
npm install resize-observer-polyfill -D
- Weather Icons: https://openweathermap.org/weather-conditions
- i18n-iso-countries
- Installation: https://stackoverflow.com/questions/52600104/how-to-use-i18n-iso-countries-in-angular-6
- Animated Icons:
- Lord Icon
- Installation:
npm install lord-icon-element lottie-web
- Loading Spinner:
- ngx-spinner@9.0.2
- Installation:
npm install ngx-spinner@9 --save
- Guide: https://www.npmjs.com/package/ngx-spinner
- Toast Messages:
- ngx-toastr@12.1.0
- ngx-toastr@12.1.0 Installation:
npm install ngx-toastr@12.1.0 --save
- @angular/animations@9.0.7 Installation:
npm install @angular/animations --save
- Guide: https://www.npmjs.com/package/ngx-toastr/v/12.1.0
- dotenv
npm i -D yargs dotenv
- Country Icons
- https://www.countryflagsapi.com/