Controllers
Controllers handle HTTP requests and map them to service methods. Main controllers:
- AuthController: Manages authentication and token issuance.
- ComponentController: CRUD operations for components, stock management, and checkout.
- DigikeyAuthController: Handles DigiKey API authentication.
- ImageController: Serves images for components.
- ImageProxyController: Proxies external image requests securely.
- TestController: For development/testing endpoints.
- UserController: Manages user data and roles.
Controllers are located in controller/.