You can view the deployed web application at IsSunny.co.
A simple weather application built with SvelteKit, Open-Meteo and Google Maps API. The key features of this application include:
- Display the current weather
- Forecast the weather for the next 24 hours
- Forecast for the next 7 days
- Get the user's location to show local weather
- Location search to get the weather for any location
Here is a screenshot of the web application:
Follow these steps to serve the app locally:
- Clone the repository:
git clone https://github.com/Guilhermecampano/weather-app.git
- Install the dependencies:
cd weather-app
npm install
- Create a
.env
file in the root of the project with the following content:
GOOGLE_API_KEY='YOUR_API_KEY'
PRIVATE_SECRET_KEY='JWT_SECRET_KEY'
PRIVATE_MOCK_API='FALSE'
- Serve the app:
npm run dev
npm run build
npm run preview