A simple weather app using a free weather api.
Visit: https://weather.lcslicp.dev/
- Get api key from Weather API.
- Define api key inside the
.env
file. - Make sure to prefix with
VITE_
.
VITE_API_KEY=copyPasteYourApiKeyfromWeatherAPI
- axios
- lottie
- moment
- react-dom
To install all dependencies
npm i
To preview app in your device
npm run dev
Make sure to configure your API key, otherwise, data won't be displayed. More info: Weather API.