Production Ready Microservices Starter
Basic microservices includes -
-
Discovery Service aka service registry
-
User Accounts and Authentication Service (UAA) (Work in progress)
-
Notification Service (HTML, EMAIL and SMS) (Work in progress)
-
File Storage Service (Store file and serve) (Work in progress)
-
Contact Service (Work in progress)
-
Localization Service (Coming soon)
-
Audit Service (Coming soon)
-
Blog Service (Work in progress)
-
Messaging Service (Coming soon)
-
UI Menu Service (Coming soon)
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
Copyright & License
Licensed under the MIT License, see the LICENSE file for details.