Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reed756/weather-dashboard
Weather App built using TypeScript, Angular, Tailwind.css, Preline UI, RxJS, Jasmine and Karma. Uses OpenWeatherMap API for weather data.
https://github.com/reed756/weather-dashboard
angular jasmine rxjs tailwindcss typescript
Last synced: 5 days ago
JSON representation
Weather App built using TypeScript, Angular, Tailwind.css, Preline UI, RxJS, Jasmine and Karma. Uses OpenWeatherMap API for weather data.
- Host: GitHub
- URL: https://github.com/reed756/weather-dashboard
- Owner: reed756
- Created: 2023-08-30T16:52:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-11T21:11:29.000Z (over 1 year ago)
- Last Synced: 2024-10-31T05:41:51.112Z (about 2 months ago)
- Topics: angular, jasmine, rxjs, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://weather-dashboard-jr.netlify.app
- Size: 668 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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 16.2.1.
## What is it?
This is a weather App built using TypeScript, Angular, Tailwind.css, Preline UI, RxJS, Jasmine and Karma. It uses the OpenWeatherMap API on the backend and the app itself is hosted on Netlify.
## Challenges
The main challenge I faced with this project was familiarising myself with Unit testing in Angular. Thankfully their documentation for testing is good and anything not covered there was found with a google search. It's something I want to improve on and add to future projects.
## Features
- Able to save favourite locations to local storage
- Can search through a dataset of 1000's of cities
- Unit tests using the Jasmine framework## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application 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` to build the project. The build artifacts will be stored in the `dist/` directory.
## 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 a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.