https://github.com/jamalsoueidan/widget-weather
Server-side rendering with React
https://github.com/jamalsoueidan/widget-weather
babel es6 express reactjs server-side-rendering webpack
Last synced: 2 months ago
JSON representation
Server-side rendering with React
- Host: GitHub
- URL: https://github.com/jamalsoueidan/widget-weather
- Owner: jamalsoueidan
- Created: 2019-02-04T23:42:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T23:50:40.000Z (over 7 years ago)
- Last Synced: 2026-02-20T07:08:08.282Z (4 months ago)
- Topics: babel, es6, express, reactjs, server-side-rendering, webpack
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather widget
Implement a simple weather widget-like application for web browser.
The widget shows basic weather information (temperature, humidity, wind) for a given city.
## Done
* On the initial page load, the default city should be Copenhagen.
* The widget for any given city should be sharable with a url like http://widget.example/?city=Odense
* When the user selects a new city, the new data should be fetched by the browser and thus not require a page reload. Despite not reloading the page, the url should still be updated to match the selected city.
* The widget should retain its basic functionality even if the user disables JavaScript in their browser.
* The application should be robust, scalable as well as easy to test, maintain and extend.
## Run
```javascript
npm install
npm run dev
```
Go to http://localhost:3000
## Tech
* Express
* React
* React Router
* Redux
* Isomorphic Fetch
* Bootstrap
* Babel
* Webpack