Unified Food Search - Text and Barcode#885
Conversation
|
Warning Gemini is experiencing higher than usual traffic and was unable to create the summary. Please try again in a few hours by commenting |
|
@apedley Could you check the conflict for package.json |
|
I merged both changes for the package file specially for the test script section. check it out once if that is fine. |
We need a combination of both files. Do you want me to force push over your patch? All the same barcode scanning stuff and the text search works same as before. The difference is all the providers go through the same api endpoint now so they all return the same shape of data. The files I removed were for the front end to use separate provider endpoints. |
9f90c5f to
dcf68c3
Compare
|
Got it, just had to update the lockfile |

Tip
Help us review and merge your PR faster!
Please ensure you have completed the Checklist below.
For Frontend changes, please run
pnpm run validateto check for any errors.PRs that include tests and clear screenshots are highly preferred!
Description
Created unified food search endpoints under /api/v2 so as to be backwards compatible.
Set up typescript for the server - all new files should now be written in typescript
Moved server to pnpm
Updated all docker files (dev, prod, backend, frontend) to use pnpm
Updated workflows to use pnpm
auto-docker-deploy.ymlandmanual-docker-deploy.ymlMisc type fixes to pass typecheck
Updated web front end to use the new food search endpoints
Related Issue
PR type [x] Issue [x] New Feature [ ] Documentation
Linked Issue: #
Checklist
Please check all that apply:
pnpm run validate(especially for Frontend).en) translation file (if applicable).rls_policies.sqlfor any new user-specific tables.Screenshots (if applicable)
Before
After