/production-ready-microservices-starter

Production Ready Microservices Starter gonna give you basic microservices which are common in all businesses. Best thing is - all microservices are multitenant.

Primary LanguageJavaMIT LicenseMIT

Production Ready Microservices Starter

Production Ready Microservices Starter gonna give you basic microservices which are common in all businesses. Best thing is - all microservices are multitenant.

Build Status Appveyor Status Code Coverage LICENSE

Quality Gate Bugs Code smells Security rating Maintainability

Basic microservices includes -

Technologies

  • Java 8

  • Spring Boot

  • Spring Cloud

  • Spring Data JPA

  • Maven

How to run

# Build all modules
mvn clean install
# Run service registry
cd service-registry
mvn spring-boot:run
# Run gateway
cd gateway
mvn spring-boot:run
# Go to http://localhost:33000/
# Gateway service should be registered in eureka.
# Run UAA
cd uaa
mvn spring-boot:run
# Go to http://localhost:33000/
# UAA should be registered in eureka.

Run in Docker

# Install docker and docker-compose first.
mvn clean package
docker-compose build
docker-compose up
# Go to http://localhost:33000/
# Gateway service and UAA should be registered in eureka.
# In browser, try http://localhost:33001/uaa/ping
# You supposed to get HTTP status 204.
# If it works, that means requests are proxying through gateway.

Documentations

Licensed under the MIT License, see the LICENSE file for details.