Handles HTTP requests and responses. Defines API endpoints and delegates business logic to services.
Contains business logic and orchestrates operations between controllers and repositories.
Responsible for data access and persistence. Interfaces with the database using JPA or other mechanisms.
Represents core business objects (e.g., User, Product, Cart) mapped to database tables.
Custom exception classes for error handling and validation.
Configuration classes for security, CORS, beans, and other application settings.