How gilbutitbook/007035 works
Project type and purpose
• This is a multi‐service reference implementation of the “Microservices Patterns” book.
• It demonstrates a suite of independent Spring Boot microservices (Order, Kitchen, Consumer, Accounting, Restaurant, Order‑History) plus API gateways (REST + GraphQL), using saga orchestration, event sourcing (Eventuate Tram), CQRS, per‐service databases, and Docker/Kubernetes deployment.
File structure
• Top‑level orchestration:
• build.gradle, settings.gradle, Gradle wrapper, shell scripts, Docker‐Compose file, Kubernetes manifests under deployment/kubernetes
• Common modules:
• ftgo-common, ftgo-common-jpa, common-swagger
• Microservice directories (each with its own build.gradle, src/main/java, Dockerfile, deployment manifests):
• ftgo-order-service
• ftgo-kitchen-service
• ftgo-consumer-service
• ftgo-accounting-service
• ftgo-restaurant-service (+ AWS Lambda variant)
• ftgo-order-history-service
• API Gateways:
• ftgo-api-gateway (Spring Boot, REST)
• ftgo-api-gateway-graphql (Node.js/TypeScript GraphQL)
• Infrastructure:
• dynamodblocal, mysql, Kafka/Zookeeper via Docker Compose or Kubernetes
• CI/CD:
• .circleci, build‐and‐run scripts, end‑to‑end test project
README
• Confirms this is the hands‑on codebase for the microservices patterns book.
Final advice
• Be exhaustive: include every microservice, gateway, DB, event bus, and shared library.
• Both client‐to‐service and inter‐service event pathways.
• Design patterns (Saga, CQRS, Event Sourcing) near the relevant flow.
• Keep it readable: you may need to create logical groupings (e.g., Domain Services, Infrastructure, Gateways).