https://github.com/leeeqo/weather
Web-application for weather tracking
https://github.com/leeeqo/weather
docker hibernate junit liquibase mockito postgresql spring thymeleaf
Last synced: 2 months ago
JSON representation
Web-application for weather tracking
- Host: GitHub
- URL: https://github.com/leeeqo/weather
- Owner: leeeqo
- Created: 2024-11-25T17:41:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-14T08:20:44.000Z (over 1 year ago)
- Last Synced: 2025-09-11T01:44:16.149Z (10 months ago)
- Topics: docker, hibernate, junit, liquibase, mockito, postgresql, spring, thymeleaf
- Language: Java
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather Project

Web-application for weather tracking.
User can authorize and add some locations to track its weather.
User can also watch weather for specific location without authorization.
Tech task: [here](https://zhukovsd.github.io/java-backend-learning-course/projects/weather-viewer/)
### Stack:
- Spring (Boot, Data)
- Hibernate
- PostgreSQL
- Liquibase
- JUnit, Mockito
- Thymeleaf
- Docker
### How to run:
- Open project in IDE.
- Set your variables in .env file. To get API key you have to sign up on [openweathermap.org](https://openweathermap.org/):
```
POSTGRES_USERNAME=your_username
POSTGRES_PASSWORD=your_password
OPEN_WEATHER_APIKEY=your_key
```
- Start PostgreSQL container via docker-compose.yaml file.
- Start Weather container via docker-compose.yaml file.
### Features:
#### User:
- Registration
- Authorization
- Logout
#### Main:
- Search for locations
- Weather by specific location
- Locations tracking (only for authorized)
- Getting locations list with weather (only for authorized)
- Deleting locations
### In progress:
- Other tests