mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 10:55:25 +02:00
b42dd32cdad9da2e26631e2fe29795ce86795ac6
EMCO Compliant is maintained manually in BC, so the pricing column now fetches it from the new /api/bc-empco endpoint (items API, field empCOCompliant) on every app load instead of reading the Dropbox matrix. One fetch per page load, cached across tab switches; sorting uses the live map. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/bac9908e-4996-4e4c-8ec7-3add58fb6684
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - To use the Business Central download button, set:
BC_TENANT_ID,BC_CLIENT_ID,BC_CLIENT_SECRET,BC_COMPANY_ID - If your Business Central writable endpoint is not the default
PATCH, also set:BC_WRITE_METHOD,BC_WRITE_URL_TEMPLATE,BC_WRITE_BODY_TEMPLATE - For the safer BC sync preview/apply flow, you can also set:
BC_ITEMS_WRITE_METHOD,BC_ITEMS_WRITE_URL_TEMPLATE,BC_ITEMS_WRITE_BODY_TEMPLATE,BC_UOM_CODE,BC_UOM_WRITE_METHOD,BC_UOM_WRITE_URL_TEMPLATE,BC_UOM_WRITE_BODY_TEMPLATE - Run the app:
npm run dev
Languages
TypeScript
89.3%
JavaScript
10.7%