Weather Svelte Themes

Weather

A simple Weather project with svelte

Weather

A simple Weather project with svelte.(To learn and practice)

Screenshots

API Reference

Get Current Weather Data

  GET /api.openweathermap.org/data/2.5/"weather/?q={cityName}&appid={key}&units=metric

Get 5 day / 3 hour forecast data

  GET /api.openweathermap.org/data/2.5/"weather/?q={cityName}&appid={key}&units=metric
Parameter Type Description
api_key string Required. Your API key
cityName string Required. Your City

Reference : https://openweathermap.org/

Run Locally

Clone the project

  git clone https://github.com/AmirRajabii/Weather.git

Go to the project directory

  cd Weather

Install dependencies

  npm install

Start the server

  npm run dev

To build the project

  npm run build

Feedback

If you have any feedback, please reach out to us at

Support

Top categories

Loading Svelte Themes