A simple responsive weather app made with React and TypeScript, generated using Vite. All weather data provided by Weather API.
- Current weather
- 3 day forecast
- Automatically sets your location (if consented)
- Search for cities around the world
- Metric and Imperial units
- Able to provide your own Weather API key
- Responsive layout
- Clone the project
git clone https://github.com/Virkkunen/weather.git
- Go to the project directory
cd weather
- Install dependencies
npm i
- Create the
.env
file on the root of the project and add your Weather API key
VITE_WEATHER_API_KEY=YOUR_API_KEY_HERE
- Start the server
npm run dev
- The server will be running locally on
localhost:5173/weather/
React, TypeScript, Vite, TailwindCSS, Headless UI, RESTful API