Skip to content

feat(rfid): add RFID/NFC scan API endpoint#4

Merged
RLASH18 merged 1 commit into
mainfrom
feat/rfid-scan-api
Feb 25, 2026
Merged

feat(rfid): add RFID/NFC scan API endpoint#4
RLASH18 merged 1 commit into
mainfrom
feat/rfid-scan-api

Conversation

@RLASH18
Copy link
Copy Markdown
Owner

@RLASH18 RLASH18 commented Feb 25, 2026

  • Add POST /api/rfid/scan endpoint for adjusting item quantity
  • Add ApiSecretMiddleware for machine-to-machine auth via X-API-Secret header
  • Add RfidScanRequest for validating item_code, action, and quantity
  • Add findByCode() to ItemRepository and ItemRepositoryInterface
  • Add adjustQuantityByCode() to ItemService
  • Register api.secret middleware alias in bootstrap/app.php
  • Add rfid_api_secret key to config/app.php

- Add POST /api/rfid/scan endpoint for adjusting item quantity
- Add ApiSecretMiddleware for machine-to-machine auth via X-API-Secret header
- Add RfidScanRequest for validating item_code, action, and quantity
- Add findByCode() to ItemRepository and ItemRepositoryInterface
- Add adjustQuantityByCode() to ItemService
- Register api.secret middleware alias in bootstrap/app.php
- Add rfid_api_secret key to config/app.php
@RLASH18 RLASH18 merged commit 088998d into main Feb 25, 2026
1 of 2 checks passed
@RLASH18 RLASH18 deleted the feat/rfid-scan-api branch February 25, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant