All checks were successful
continuous-integration/drone/push Build is passing
Weather Dashboard
This project is a weather dashboard that retrieves and displays weather data for different locations.
Installation
npm:
- Clone the repository.
- Run
npm install
to install the project dependencies. - Start the development server with
npm run dev
or build the production index.mjs withnpx nuxi build
and run it withnode .output/server/index.mjs
.- Don't forget to change the apiBaseURL at line 16 in WeatherDashboard.vue !*
Docker:
-
There is a Dockerfile for image building
-
Also there is apublic image can be used:
- docker pull git.argideli.com/argideli/weather-app:latest
Usage
- The dashboard fetches weather data from the API based on configured locations.
- Add new locations by clicking on "+ Add Location"
- Upon entering a search input you will be presented with a list of locations
- Click on the desired location and then Add Location
- View weather details by clicking on a specific location.
- Remove a location by clicking on the trash bin
Components
Pages
- index.vue
Components
-
WeatherDashBoard.vue
- Displays the main table
- Subcomponents:
-
AddLocation.vue
- Modal for adding a new location
-
DeleteLocation.vue
- Modal confirming deletion of a location
-
SlideDetails.vue
- Provides the seven day forecast of the location that was clicked
-
Description
Languages
Vue
86.8%
TypeScript
10.8%
Dockerfile
1.2%
JavaScript
1.2%