Skip to content

Just a React web app which can display a five day weather forecast based upon publicly available data

Notifications You must be signed in to change notification settings

hgbao/weather-forecast

Repository files navigation

CircleCI

Presequisites

Node
16.3.0

Setup

  1. Install dependencies

    yarn install
  2. Setup environment variables

    • Copy .env.sample to .env.local
  3. Setup repository

    yarn setup

Development

Start application

yarn dev
  • The application will start on port 3000

Linter

  • Check linter issues:

    yarn lint
  • Fix basic linter issues:

    yarn format
  • Check missing/unused dependencies:

    yarn depcheck

Test

yarn test

Simulate server environment

  1. Start docker service
  2. Run the command based on your OS
    UNIX Other
    yarn docker:prod yarn docker:dev

Note: The application will start on port 80 instead of 4000

About

Just a React web app which can display a five day weather forecast based upon publicly available data

Resources

Stars

Watchers

Forks

Packages

No packages published