Skip to content

TrigenSoftware/weather

Folders and files

NameName
Last commit message
Last commit date
Sep 7, 2019
Sep 24, 2019
Mar 6, 2020
May 21, 2020
Nov 28, 2018
Mar 7, 2019
Jul 10, 2018
Sep 6, 2019
Jan 9, 2019
Jun 11, 2019
Jul 11, 2018
Sep 7, 2019
Jun 11, 2019
Jun 11, 2019
Sep 24, 2019
Sep 6, 2019
Nov 28, 2018
May 21, 2020
Sep 4, 2019
Jul 10, 2018
May 21, 2020

Repository files navigation

weather

Dependencies status Dev dependencies status Build status Dependabot badge

Architecture demo app.

Available scripts

# 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:

OPENWEATHER_APPID=XXX # OpenWeather API App ID; not set by default

Optional variables:

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.