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.
- Java
- Spring
- MongoDb
- Redis
- Spring Security
- Scheduler
- Docker
- JWT
- JUnit
- AssertJ
- Mockito
- Testcontainers
- Wiremock
- MockMvc