Skip to content

g-loot/spring-boot-code-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G-Loot code test for backend developers

Things you will need

  • Git
  • Java 17
  • A code editor

General info

  • 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

Test

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

Sending in your submission

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

About

G-Loot code test for backend developers

Resources

Stars

Watchers

Forks

Languages