mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 11:05:23 +02:00
49498c5c51a9e30819e58192c07a8511ac4fa076
Replace all mock data in the Profitability Dashboard with live data: - Add 3 new API routes (fetch-deals, fetch-promos, fetch-chargebacks) proxying Dropbox Excel files - MktDataView now accepts rawData/adsData props and fetches+parses the 3 new files on mount - SELL OUT and units aggregated globally across all marketplaces from rawData - PPC Spend aggregated globally from adsData; ACoS calculated as spend/sales - Deals (col A→C), Promos (col E→K), Chargebacks (col AN→B) parsed and summed per ASIN - Category filter populated from product line metadata - Loading skeleton shown while files are fetching Co-Authored-By: Claude Sonnet 4.6 <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/drive/112o4Bbq7Nkh63MALtcroOOBq0Qn1hX9G
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
Languages
TypeScript
91.2%
HTML
5.9%
Python
2.5%
PLpgSQL
0.2%
JavaScript
0.2%