Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 879 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 879 Bytes

Notes:

  • I decide to not cover 100% of test, I added test for you to have a notion what is possible to do it with integration and unit tests.
  • I decide to not implement 100% CRUD actions, I tried to keep simple and follow the minimal requirements with responsibility separation.
  • I also decide to not map all relations between the tables using JPA, only the necessary for the features.
  • I added data.sql to be load always for purpose test.

Generate jar:

 mvn install

Build docker project

 docker build -t quiz-api-docker.jar .

Start project

 docker-compose up 
# OR
 java -jar target/quiz-api-docker.jar

Discussion points

  • Migration tool like Flyway and Liquibase.
  • Persistence in memory or dedicated db and JPA decoupling code.
  • Caching
  • Pagination on API
  • Reactive API: Project Reactor and Spring WebFlux