Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.53 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.53 KB

keycloak-auth-service

Getting Started

Follow these steps to set up and run the backend:

  1. Clone the repository:
git clone https://github.com/hoangtien2k3/keycloak-auth-service.git
  1. Configure the database:

  2. Config file application.yml

    1. Change config file application.yml in auth-service and noti-service, noti-send
      • Config connect db R2DBC:

        • url: url: r2dbc:postgresql://localhost:5434/auth
        • username: admin
        • password: admin
      • Config keycloak:

        • clientId:
        • clientSecret
        • realm
        • serverUrl
        • grantType
        • host
  3. Setup docker-compose

#Open terminal Windown and Macos
docker-compose up -d
  1. Run each service in turn
  # Using Maven
  mvn spring-boot:run

runProject.png

runProject.png

runProject.png

Demo Call API

login.png

login.png