How manu05x/userauthidea works
Project type and purpose
• This is a monolithic backend API service built with Spring Boot (“UserAuthIdea / Idea Collaboration Platform”).
• It provides user authentication (JWT‑based), idea management (CRUD, tagging), voting, and collaboration features over REST.
File structure
• Top‑level build & deployment: Dockerfile, docker‑compose.yml, pom.xml, mvnw scripts.
• Source layout follows a layered MVC pattern under src/main/java:
• configurations (security/password)
• controller (AuthController, IdeaController)
• service (AuthService, IdeaService)
• repository (JPA repositories for User, Idea, Vote, etc.)
• model (JPA entities)
• dto (request/response objects + mappers)
• security (filters, JWT utils, SecurityConfig)
• Resources: application.properties
• Tests mirror main packages under src/test.
Key insights from README
• Spring Security + JWT for auth
• MySQL database
• Docker Compose orchestrates the service and MySQL
• No frontend yet (REST API only)
Detailed capture of essential elements
• Major controllers (Auth vs. Idea) and their primary endpoints
• AuthService calling JwtService for token operations
• TokenBlacklist check as part of security flow