/candidate-sample-java

sample application to be used for candidate screening for validating java skills

Primary LanguageJava

candidate-sample-java

sample application to be used for candidate screening for validating java skills


prerequisites

  • java 11
  • maven

maven commands

install app

mvn clean install

run app

mvn spring-boot:run

app reference

h2 (database)

local: http://localhost:9999/h2-console

seed: data.sql

description: an in-memory database engine More...

swagger

local: http://localhost:9999/swagger-ui.html

description: a tool that allows visualization and interaction with APIs More...

app structure

  • annotation - customer annotations
  • config - application configuration
  • controller - application controllers
  • controller/advice - exception handling
  • dao/model - database object models (Hibernate) More...
  • dao/repository - database repositories (Spring Data) More...
  • dao/specification - database specifications (Spring Data) More...
  • enumerator - custom enums
  • exception - custom exceptions
  • model/dto - data transfer objects
  • model/filter - retrieve filter objects (Specification)
  • service - business logic layer
  • utility - helper utility classes
  • validator - validation logic (Spring Validation) More...