How charithjdesilva-learning/studyfi-backend works
Project type and purpose
• This is a microservice-based backend for the “StudyFi” application. It consists of multiple Spring Boot services (each with its own Maven module) working together under a service-discovery and API-gateway layer.
File structure
• Top-level modules:
• apigateway – routes incoming HTTP calls
• discoveryserver – Eureka service registry
• contentandnews – manages posts, comments, likes, news
• userandgroup – handles user profiles, groups, email verification, password reset
• notification – sends notifications (email/push)
• Each service:
• src/main/java/com/... – standard Spring Boot structure (Application class, controllers, services, repositories, DTOs, models)
• src/main/resources/application.properties – service configuration
• config packages – WebClientConfig, CloudinaryConfig, MailConfig where applicable
• Shared patterns:
• Each service uses Spring Data JPA repositories
• WebClient (reactive HTTP client) configured to call other services
• Cloudinary used for media uploads in contentandnews and userandgroup
• Maven parent POM defines common dependencies
README
• Confirms this is the “Backend for the Study-Fi Project.”