Complete spring boot micro service application using oauth

Let’s build a complete spring boot micro service application using oauth in a step by step manner. The different building block of the application are:

  1. A Git repository for property files.
  2. A config server to read the properties from Git repository.
  3. Several basic micro services which we can extend to develop our business logic.
  4. A Oauth server to secure the business micro services developed in 3.
  5. A API gateway to access the micro services developed in 3.
  6. A consul agent for service registry.
  7. A stand alone java application to demonstrate the micro services.

Technology stack:

  1. Java 1.8
  2. Spring Boot 1.5.3 Release
  3. Intellij or any IDE
  4. MySql
  5. Git
  6. Maven

We shall build all the components step by step. Prior experience of spring will be helpful to follow. End of the exercise we shall build a complete spring boot micro service application using oauth,configuration server, service registry, api gateway using Zuul. After the exercise we shall upgrade the application using advance features of Spring boot.

Next:  Build configuration server.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.