How kea-renov8/befly-be works
Project type and purpose
• This is a Java-based backend mono-repo implementing a microservices architecture for the “ReNov8” platform.
• It comprises three domain services—user, community, consult—plus a shared “common” library.
• Each service is a standalone Spring Boot application, containerized (Docker), with its own Gradle build.
File structure
• Top level:
• common/ – shared code (annotations, API payloads, S3 config, exception handling)
• user/ – user management and authentication (JWT, sign-in/up)
• community/ – free/solved posts, comments, empathy, notification via Kafka & SSE
• consult/ – “worry” domain, analysis, chat domain objects
• Each service folder contains: Dockerfile, build.gradle, src/main/java/...Application.java, controller, service, repository, domain, dto packages
• settings.gradle and .github/workflows show a GitHub Actions CI/CD pipeline.
Key technical stack (from README and code)
• Spring Boot (Java)
• AWS S3 (file storage) via shared S3Service
• Apache Kafka (event bus for notifications in community service)
• Server-Sent Events (SSE) for real-time notifications
• JWT for authentication (in user service)
• Docker and GitHub Actions for build & deployment
• Gradle multi-project setup