DoctorPok42 / WeatherApp

Get the weather of a city!

Home Page:https://weather.doctorpok.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather App

Get the weather of a city!

Installation

  1. Clone the repository
git clone git@github.com:DoctorPok42/WeatherApp.git
  1. Install dependencies
npm install
  1. Add .env file
touch .env
  1. Add the following variables to the .env file

    Get your api key https://www.weatherapi.com

WEATHER_API_KEY= # Your weather api key
  1. Run the project
npm run dev

Usage

  1. Go to http://localhost:3000

  2. Enter a city name in the search bar

  3. The weather of the city is displayed!

Tech

Folder structure

  • components - Contains all the components used in the project
  • pages - Contains all the pages used in the project
  • public - Contains all the static files used in the project
  • styles - Contains all the styles used in the project
  • api - Contains all the routes api used in the project

License

MIT

About

Get the weather of a city!

https://weather.doctorpok.io

License:MIT License


Languages

Language:TypeScript 64.9%Language:SCSS 34.4%Language:JavaScript 0.6%