suyashvsingh / weather

Simple app which tells the temperature of a particular place. By default, it asks for location access, so that it can display weather of the user's current location

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather App

Logo

Getting Started

Get your API key

Cloning the repository

  1. Clone the repository
git clone https://github.com/suyashvsingh/weather.git
  1. Create .env file

In the root folder, create a new .env file

REACT_APP_URL=https://api.openweathermap.org/data/2.5/weather?units=metric
REACT_APP_WEATHER_API_KEY=[Your API key here]
  1. Install dependencies
cd client
npm install
cd server
npm install
  1. Run the server
cd server
npm run dev
  1. Run the client
cd client
npm run dev

About

Simple app which tells the temperature of a particular place. By default, it asks for location access, so that it can display weather of the user's current location


Languages

Language:JavaScript 84.8%Language:CSS 10.1%Language:HTML 5.1%