Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laertispappas/weather_app
A simple Rails / Angular 2 App that consumes OpenWeatherMap API to display curent weather and forecast
https://github.com/laertispappas/weather_app
angular2 api rails5
Last synced: 16 days ago
JSON representation
A simple Rails / Angular 2 App that consumes OpenWeatherMap API to display curent weather and forecast
- Host: GitHub
- URL: https://github.com/laertispappas/weather_app
- Owner: laertispappas
- Created: 2017-07-23T12:11:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T12:47:27.000Z (over 7 years ago)
- Last Synced: 2024-10-30T21:27:10.002Z (2 months ago)
- Topics: angular2, api, rails5
- Language: Ruby
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Weather App](https://arcane-plateau-13728.herokuapp.com/)
A simple Rails / Angular2 weather application that consumes data from [OpenWeatherMap API](http://openweathermap.org/API)
## Tasks
- [x] Display the weather at random geographic locations
- [x] Search city weather
- [x] Cache the fetched weather data## Improvements
* Add more tests (API + Frontend)
* Improve API enpoint names and refactor front end as well
* Change search form to a dropdown select box with autocomplete of available cities
* Add memcache
* Dockerize the application
* Allow users to subscribe for weather notifications (via Email / Push / SMS) so they get alerts for weather conditions
* Documentation## Installation
* Clone and change directory to the project
```bash
git clone https://github.com/laertispappas/weather_app
cd weather_app
```* Bundle the project
```bash
bundle install
```* Install JS dependencies in client folder
```bash
cd client
npm install
```## Run locally
* Run rails application as usual
`rails s`* Run angular application using ng cli
`cd client && ng serve`* Navgate to `localhost:4200`