Skip to content

chongct/weather-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Forecast Application Build Status Coverage Status HitCount

This is a simple weather forecast application.

Live version: https://chongct-weather.herokuapp.com/

Getting Started

How to Use

  • Fork and clone this repository.
  • Run yarn install to install dependencies.
  • To start project in development mode, run yarn dev.
  • To start project in production mode, run yarn build first, then yarn start.
  • To run tests, run yarn test.

How to Use Docker Image

  • Run yarn install and yarn build to create React build files.
  • Run docker build -t <image name> . to build Docker image.
  • Run docker run -p 4000:4000 --env-file <path/to/.env file> <image name> to start running Docker image.
  • Application can be accessed at http://localhost:4000.

Environmental Variables

  • Two API keys, one from Dark Sky API and one from Mapbox API, are needed for the application.
  • Configure them in server/.env with variable names WEATHER_API_KEY and LATLNG_API_KEY.

Built With

  • React / Redux
  • SCSS
  • Bootstrap
  • GraphQL
  • Node.js
  • Dark Sky API
  • Mapbox API
  • Mocha, Chai, Jest, Enzyme
  • Travis CI
  • Heroku
  • Gulp
  • Docker

About

A simple weather forecast application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors