Here are the steps to run WeatherApp on your local system :-
- NodeJS
- Git
Run these commands in your terminal to install the app:
git clone https://github.com/Sheikh-JamirAlam/WeatherApp.git
cd WeatherApp
npm i
Create a .env file using this command:
cp .env.example .env
Add the required environment variables:
VITE_API_KEY= <Openweathermap Api key, https://openweathermap.org/current>
Run this command in your terminal to run the app in your local system:
npm run dev
Run this command in your terminal to build the app:
npm run build
To preview the build run:
npm run preview