Single page web application that fetches the weather of a location the user searched for.
https://react-weather-app-trevinshu.vercel.app/
-
Register for an AccuWeather account on https://developer.accuweather.com/ and get a free API key.
-
Download or Clone this Repo.
-
Create a dotenv file (.env) in the root of the application and enter the api key you got in step one in the dotenv file like this:
VITE_API_KEY=yourapikey
-
Open the terminal in your editor of choice and install all the required packaged like this:
npm install
-
Run the application from the command line.
npm run dev
-
Control + Click or Command + Click the URL displayed in the terminal to open the application in your web browser.
- React
- Tailwind CSS
- Vite
- React Router
- React Toastify
- React Icons
- React Spinners
- Framer Motion
Trevin Shu