yky32 / spring-boot-starter-uaa

Spring Boot Starter Authentication Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Starter

  • Spring boot microservice template
  • This can be used as resources server

Tech stack

  • Java 11+ JDK
  • Git
  • Docker / Docker-compose
  • Maven
  • Junit5 / Mockito
  • MySQL 8 / Postgres
  • JPA
  • Swagger
  • Actuator
  • Flyway / LiquidBase
  • Spring Boot 2.6+
  • Spring Security
    • oauth2-jose
    • oauth2
  • Kubernetes

Maven Dependencies

  • used custom dependency to centralize all the libraries and class etc.
<dependency>
    <groupId>com.quinsic.foundation</groupId>
    <artifactId>app-core</artifactId>
    <version>${app-core}</version>
</dependency>

Pre-requisite

  • configure your Users/${user}/.m2/settings.xml img.png
  • put down your GitLab/GitHub accessToken img.png
  • Docker running mysql image
  • go and see docker-compose in cd ~/.setup

Testing

Design Principle

Directories structure

  • config
  • endpoint
  • entity
    • dto
    • po
  • exception
  • repository
  • service
  • usecase optional

Oauth2 Concept

oauth2-architecture.png

About

Spring Boot Starter Authentication Server


Languages

Language:Java 99.4%Language:Dockerfile 0.6%