API Endpoints
Authentication
/api/auth/login: Login and receive JWT/api/auth/refresh: Refresh token
Components
/api/components: List, create, update, delete components/api/components/{id}: Get, update, delete specific component/api/components/update-stock: Update stock for a component/api/components/checkout: Checkout a component
Users
/api/users: List, create, update, delete users
Images
/api/image/{id}: Get image for a component/api/proxy-image?url=...: Proxy external image requests
DigiKey Integration
/api/digikey/auth: Authenticate with DigiKey
Refer to controller files for detailed endpoint logic.