Skip to content

jaztec/microservices-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline status coverage report

Microservices example

This is an experimental from the ground up microservices example. It uses mTLS to communicate between the different programs.

The repo uses docker and docker-compose.

Pull the repository and run the following commands:

$ git clone https://github.com/jaztec/microservices-example.git 
$ cd microservices-example
$ docker-compose up --build

This should get you a running setup at http://localhost:9097. Going there takes you to a login page that is wired for the example. The credentials are simply test and test.

Alternatively you can use the client credentials grant, that works with any client_id and client_secret set to 42:

http://localhost:9096/token?grant_type=client_credentials&client_id=anything&client_secret=42&scope=read

This example is not persistent. Taking it down will clear all certificates as will restarting a single application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published