A Weather App Via Api | Vitejs, Axios, ReactQuery ,Tailwindcss , Phosphor Icons and Daisyui.
A Weather App Via Api | Vitejs, Axios, ReactQuery ,Tailwindcss , Phosphor Icons and Daisyui.
The API site I used when creating the site is below:
Weather Api
You can access documents regarding the use of the API from the link.
Docs.
To clone and run this application, you'll need Git and ReactJS installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/MehmetBozkir/React-interview-app.git
# Go into the repository
$ cd React-interview-app
# Install dependencies
$ npm install
# Visit the page and get the API key
$ https://www.weatherapi.com/
# Include the personal API key you have in the .env folder
$ echo "VITE_WEATHER_API=YOUR_API_KEY" > .env
# Run the app
$ npm run dev