How youth-talk-talk/be works
Project type and purpose
• This is the Java-based Spring Boot backend service for the YouthTalkTalk mobile application (iOS/Android).
• It exposes RESTful APIs for announcements, posts, comments, policies, images, likes, reporting, member management (OAuth2/Apple), scheduling, and error handling.
File structure
• Top level: Gradle build, Dockerfile, deploy scripts, submodule for seed data.
• src/main/java/com/server/youthtalktalk:
• domain/*: Entities, Repositories, Services, Controllers grouped per business domain (announcement, comment, image, likes, member, policy, post, report, scrap).
• global/config: Bean and infrastructure configuration (API paths, S3, QueryDSL, security, Feign clients, batch).
• global/jwt, global/login: Spring Security filters, providers, JWT support.
• global/batch: Scheduled and batch-job components.
• global/response: Standardized response wrapper and exception hierarchy.
• global/util: Helpers for date extraction, hashing, URL utils, etc.
• src/test: Unit and integration tests across layers.
README for additional insights
• ERD showing domain relationships.
• Tech stack: Java17, Spring Boot 3, MySQL/H2, Spring Data JPA/QueryDSL, OAuth2/Spring Security, AWS EC2/RDS/S3, Jenkins CI/CD.