https://github.com/trigensoftware/weather
Architecture demo app.
https://github.com/trigensoftware/weather
Last synced: 3 months ago
JSON representation
Architecture demo app.
- Host: GitHub
- URL: https://github.com/trigensoftware/weather
- Owner: TrigenSoftware
- License: mit
- Created: 2018-07-11T08:05:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T04:39:55.000Z (over 2 years ago)
- Last Synced: 2025-01-22T13:46:21.115Z (5 months ago)
- Language: TypeScript
- Homepage: https://trigen-weather.netlify.com
- Size: 4.74 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# weather
[![Dependencies status][deps]][deps-url]
[![Dev dependencies status][dev-deps]][dev-deps-url]
[![Build status][build]][build-url]
[![Dependabot badge][dependabot]][dependabot-url][deps]: https://david-dm.org/TrigenSoftware/weather.svg
[deps-url]: https://david-dm.org/TrigenSoftware/weather[dev-deps]: https://david-dm.org/TrigenSoftware/weather/dev-status.svg
[dev-deps-url]: https://david-dm.org/TrigenSoftware/weather?type=dev[build]: http://img.shields.io/travis/com/TrigenSoftware/weather/master.svg
[build-url]: https://travis-ci.com/TrigenSoftware/weather[dependabot]: https://api.dependabot.com/badges/status?host=github&repo=TrigenSoftware/weather
[dependabot-url]: https://dependabot.com/Architecture demo app.
## Available scripts
```bash
# Lint only styles
yarn lint:styles
# Lint only scripts
yarn lint:scripts
# Lint all sources
yarn lint
# Run tests with Jest
yarn jest
# Run type checking
yarn typecheck
# Run lint, tests and build
yarn test
# Generate docs for TypeScript sources
yarn build:docs
# Start Storybook
yarn start:storybook
# Build standalone Storybook bundle
yarn build:storybook
# Start development server
yarn start
# Build our bundle for production
yarn build
# Serve files from `build` directory
yarn serve
```## Environment variables
To be able to build this app, you should provide some environment variables:
```bash
OPENWEATHER_APPID=XXX # OpenWeather API App ID; not set by default
```Optional variables:
```bash
PROXY_API_URI='' # valid URI; not set by default
DISABLE_BROWSER_SYNC=false # boolean; `false` by default
DISABLE_HISTORY_FALLBACK=false # boolean; `false` by default
```You can create `.env` in project root with this variables.