Barcode Scanner
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
What: In the SaleFormModal, add a button that activates the device's camera (cell phone or webcam). The user points to a barcode, and the product is automatically added to the sale.
How: Using a JavaScript barcode scanner library (e.g., react-zxing). It decodes the image and returns the number, which we use to search for the product in the API.
Value: "Wow" feature. Makes the sales process extremely fast and modern, especially for physical stores.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SaleFormModal and reading how it currently adds products and searches the API. Check the chosen JavaScript barcode scanner library's camera flow, then verify that a decoded barcode finds the product and adds it to the sale. Done means the button works with a phone camera or webcam and handles the barcode result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100