How odiyar-github/kids-app-swt works
Project type and purpose
• This is a full-stack, microservices-based community platform (“Kids App”) for discovering and giving feedback on events.
• It consists of three main runtime services—Frontend (Angular), BFF (NestJS), Backend (Spring Boot)—plus a messaging broker (RabbitMQ) and a NoSQL store (CouchDB).
File structure
• Top-level “apps” folder contains three subfolders:
• apps/frontend → Angular UI
• apps/bff → NestJS Backend-for-Frontend (HTTP API + RabbitMQ client)
• apps/backend → Spring Boot microservice (business logic, CouchDB client, RabbitMQ consumer/producer)
• “libs” holds shared TypeScript modules:
• libs/amqp → common wrapper for RabbitMQ patterns
• libs/share → shared DTOs, mock data, enums used by BFF and Frontend
• Root contains docker-compose.yaml and docker/ folder for building images.
• Configuration files (.env, application.properties, tsconfig, pom.xml, etc.) indicate environment variable–driven configuration, Docker orchestration, and polyglot tech stack.
README for additional insights
• Architecture section confirms microservices:
• Frontend (Angular)
• BFF (NestJS) as gateway/aggregator
• Backend (Spring Boot)
• RabbitMQ for asynchronous inter-service messaging
• CouchDB for persistence
• README details interactions (e.g. BFF → RabbitMQ → Backend → CouchDB) and exposes Swagger docs on BFF.