Git Product home page Git Product logo

weather-app-in-reactjs's Introduction

Weather App

This web app is built using React.js and utilizes the shadcn/ui for a sleek and modern user interface. It allows user to search for weather of different regions. The application featches data from OpenWeather API.

Technologies Used

  • React.js
  • shadcn/ui
  • lucid-react
  • OpenWeather API

Installation

Follow the steps below to install and run this web application on your local machine:

  1. Clone the Repository

    git clone https://github.com/Jaimin25/weather-app.git
  2. Navigate to the Project Directory

    cd weather app
  3. Install Dependencies

    Use npm to install the project dependencies.

    npm install
  4. Get Your OpenWeather API Key

    To use this application, you need to obtain an API key from Edamam. Follow these steps:

    • Visit the OpenWeather Website.
    • Sign in or create an account if you don't have one.
    • Once logged in, head to API Keys page.
    • Copy the API key and API id for later use.
  5. Add Your API Key to the Application

    In the root folder make an .env file and add your OpenWeather API key as follows:

     VITE_WEATHER_APP_URL=https://api.openweathermap.org/data/2.5/weather
     VITE_WEATHER_API_KEY="openweatherapikey"
  6. Start the Application

    Now, you can start the application:

    npm run dev
  7. Access the Application

    Open your web browser and go to http://localhost:5173/ to access the Weather Web Application.

weather-app-in-reactjs's People

Contributors

deepsource-io[bot] avatar jaimin25 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.