How developthreefeet/big-brother-be works
Project type and purpose
• This is a Java Spring Boot monolithic back-end service (“BigBrotherBe”) that aggregates and exposes university-related data (campus notices, events, FAQs, rules, transactions, etc.) via REST APIs. It ingests data from external sources (crawlers, LLM summarization, OCR), persists it in a relational database, and offers authentication, file storage, email, and other cross-cutting concerns.
File structure
• Top-level artifacts:
• build.gradle, Gradle wrapper → build system
• Dockerfile, docker-compose-local.yml → containerization & local orchestration
• src/main/java/com/example/bigbrotherbe → business modules by domain
• src/main/java/com/example/bigbrotherbe/global → common concerns (security, auth, CORS, email, file, LLM, OCR)
• Domain packages follow a layered pattern: controller → dto → service → repository → entity
• Global packages provide cross-cutting services: JWT filter/service, exception handler, AWS S3, email components, OCR, LLM interfaces
README for additional insights
• The README already shows a high-level architecture and an ERD. Technology stack includes Spring Boot, Spring Security (JWT), JPA/Hibernate, Swagger, AWS S3, AWS Lambda/SSH tunneling to database, LLM (Bedrock), OCR, Docker, GitHub Actions.
Detail
• Expose the global/common modules in a separate “Cross-Cutting Concerns” cluster.
• HTTP endpoints and major flows.
• Don’t overload with code-level classes: group DTOs, Entities, Repositories by domain but show cardinality in ERD.