Skip to content

List2019/payment-system2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payment-system 2

Payment-system 2 is a testing project where I'm trying to use the most modern technologies as test-containers, groovy etc.

Technology stack

  • Java 17
  • Spring
  • Gradle
  • Test containers
  • Groovy
  • Keycloak
  • Swagger

Quickstart

First of all we need to build project to create jar file and then run docker compose command.
It will run app and keycloak.

docker-compose up -d

Keycloak

Usually keycloak is using for sing-in, but this project doesn't have UI, so we will use it only to create and validate bearer token
For token generation you should make a POST request to this url localhost:8080/realms/payment-system/protocol/openid-connect/token with that parameters:

client_id:payment-system-app
username:developer
password:developer
grant_type:password

For access to keycloak admin console use admin/admin localhost:8080

Swagger

After getting token you can use it for access the app endpoints

localhost:8180/swagger-ui/index.html#/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published