This is a simple weather forecast application.
Live version: https://chongct-weather.herokuapp.com/
- Fork and clone this repository.
- Run
yarn installto install dependencies. - To start project in development mode, run
yarn dev. - To start project in production mode, run
yarn buildfirst, thenyarn start. - To run tests, run
yarn test.
- Run
yarn installandyarn buildto 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.
- Two API keys, one from Dark Sky API and one from Mapbox API, are needed for the application.
- Configure them in
server/.envwith variable namesWEATHER_API_KEYandLATLNG_API_KEY.
- React / Redux
- SCSS
- Bootstrap
- GraphQL
- Node.js
- Dark Sky API
- Mapbox API
- Mocha, Chai, Jest, Enzyme
- Travis CI
- Heroku
- Gulp
- Docker