- Git
- Java 17
- A code editor
- Written using spring boot
- Uses postgreSQL as database
- Uses lombok which needs to be enabled/configured in your editor
- Database migrations done with flyway
- Tests done in JUnit 5 with Testcontainers
- Maven wrapper is included for building/testing
- On Unix systems use:
./mvnw clean verify
- On Windows:
./mvnw.cmd clean verify
- On Unix systems use:
This is a sample spring boot which currently only offers a single GET endpoint at /api/v1/leaderboard
which will return a leaderboard consisting of entities representing players and their score.
We expect you to perform the following list of tasks:
- Extend functionality
- Add support for multiple leaderboards
- Add new API endpoints for:
- For fetching the position of a user for a specific leaderboard
- Setting score for a user in a leaderboard
- Write tests for the code you add
- Refactor the existing method in LeaderboardService
Clone the repository, make your changes and e-mail an archive with the result to codetest@gloot.com
Including a commit history is a plus which would showcase your thought process