Skip to content

Sample project to show how to build microservices by using Kotlin, Spring Boo and Gradle

Notifications You must be signed in to change notification settings

hei1233212000/spring-boot-microservices-sample

Repository files navigation

Project description

Sample project to show how to build microservices by using Kotlin, Spring Boo and Gradle

Components

  • API Gateway
  • Discovery Server
  • Resource Server
  • Auth Server

How to start

Start Discovery Server

$ SPRING_PROFILES_ACTIVE=peer1 ./gradlew :discovery-server:clean :discovery-server:bootRun

$ SPRING_PROFILES_ACTIVE=peer2 ./gradlew :discovery-server:clean :discovery-server:bootRun

Start Resource Server

$ SPRING_PROFILES_ACTIVE=peer1 ./gradlew :resource-server:clean :resource-server:bootRun

$ SPRING_PROFILES_ACTIVE=peer2 ./gradlew :resource-server:clean :resource-server:bootRun

Start API Gateway

$ ./gradlew :api-gateway:clean :api-gateway:bootRun

Start Auth Server

Please check the Auth Server README

Verify

About

Sample project to show how to build microservices by using Kotlin, Spring Boo and Gradle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages