Code Monkey home page Code Monkey logo

weather-forecast's Introduction

Weather Forecast

Weather Forecast is a React app for displaying current and 16-day extended weather data.

Open Live Project

What It Uses:

  • React (w/Hooks & ContextAPI)
  • Typescript
  • Styled Components

Installation

Make sure to have git installed, then run:

git clone https://github.com/ale917k/weather-forecast
cd ./weather-forecast

Add an .env file which looks as per .env.example:

REACT_APP_WEATHERBIT_API_KEY=<api-key> # You can grab a free Weatherbit API key after registering here: (https://www.weatherbit.io/)

You can then run npm start to start the project.

Production

This project has been set up with a production environment ready for deployment on Github Pages.

To deploy your own version:

  1. Fork project
  2. Run npm run deploy to publish the project on github
  3. Go to {your-GitHub-code-repository} -> Settings -> GitHub pages section and setup source to the gh-pages branch
  4. Set your environment variables by going to {your-GitHub-code-repository} -> Settings -> Environments -> github-pages --> Under Environment secrets, add new secrets
  5. Enjoy your new live project!

License

MIT

weather-forecast's People

Contributors

ale917k avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.