GithubHelp home page GithubHelp logo

prashant-aher / weatherpulse Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 435 KB

Welcome to WeatherPulse, a powerful and user-friendly weather application that provides real-time weather updates and forecasts. With intuitive features and a sleek design, WeatherPulse offers a seamless experience for staying informed about the current and upcoming weather conditions.

HTML 8.76% CSS 18.97% JavaScript 72.27%

weatherpulse's Introduction

image

WeatherPulse

Welcome to WeatherPulse, a powerful and user-friendly weather application that provides real-time weather updates and forecasts. With intuitive features and a sleek design, WeatherPulse offers a seamless experience for staying informed about the current and upcoming weather conditions.

Getting Started:

  1. Clone the repository:

    git clone https://github.com/Prashant-Aher/WeatherPulse.git

  2. Install dependencies:

    npm install

  3. Set up your .env file with API keys and configurations.

  4. Run the app:

    npm start

Steps to Obtain the OpenWeatherMap API Key

  1. Sign Up for OpenWeatherMap Account:

    Go to https://home.openweathermap.org/users/sign_up and create your own account.

  2. Navigate to API Section:

    After creating your account, navigate to the API section on the Navigation bar.

  3. Explore API Endpoints:

    In the API section, explore different options such as Current Weather Data, Hourly 4 hour forecasts, 16 day forecasts, etc. These are the API endpoints you'll use to fetch weather data.

  4. Get API Key:

    To access the APIs, you need an API key. Click on your username in the top right corner and then select "my API keys."

  5. Create API Key if Necessary:

    If you don't have an API key, create one. This key will be used to authenticate your requests to the OpenWeatherMap API.

  6. Create .env File:

    In your main app folder, create a file called .env. This file will store your environment variables, including API endpoints and keys.

  7. Define Environment Variables:

    Inside the .env file, set up the following environment variables:

  REACT_APP_API_URL = 'https://api.openweathermap.org/data/2.5'
  REACT_APP_API_KEY = [Paste your API key here]
  REACT_APP_ICON_URL = 'https://openweathermap.org/img/w'
  1. Paste API Key:

    Replace [Paste your API key here] in the REACT_APP_API_KEY variable with the API key you obtained from OpenWeatherMap. This step ensures your application can authenticate and access weather data.

weatherpulse's People

Contributors

prashant-aher avatar

Watchers

 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.