https://github.com/ppirog/lotto
excercise to practise commercial technologies such as spring-boot, junit, mockito, mongodb, wiremock, docker, testcontainters, redis
https://github.com/ppirog/lotto
docker java junit lombok maven mockito mongodb redis spring spring-boot spring-security testcontainers wiremock
Last synced: 2 months ago
JSON representation
excercise to practise commercial technologies such as spring-boot, junit, mockito, mongodb, wiremock, docker, testcontainters, redis
- Host: GitHub
- URL: https://github.com/ppirog/lotto
- Owner: ppirog
- Created: 2024-02-15T21:54:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T15:15:23.000Z (about 2 years ago)
- Last Synced: 2025-04-25T17:45:56.623Z (about 1 year ago)
- Topics: docker, java, junit, lombok, maven, mockito, mongodb, redis, spring, spring-boot, spring-security, testcontainers, wiremock
- Language: Java
- Homepage:
- Size: 427 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README














This Application simulates lotto game. User gives input numbers and receive a ticket. Then every Saturday at 12:00 application generates winning numbers and at 12:05 user is able to check result.
Generating numbers is done by app using scheduler. To use application user has to register, login and fetch JWT token
To give input numbers use endpoint:
- POST /inputNumbers
To check result use endpoint:
- GET /results/{id}
All functionality are unit and integration tested.
# Core
- Java
- Spring
- MongoDb
- Redis
- Spring Security
- Scheduler
- Docker
- JWT
# Testing:
- JUnit
- AssertJ
- Mockito
- Testcontainers
- Wiremock
- MockMvc
# Architecture

# Postman






##### To start app go to go to file docker-compose.yml first and launch it