mirror of
https://github.com/luxfi/markets.git
synced 2026-10-30 16:19:55 +00:00
All 5 Next.js API routes were public-API proxies or stubs — deleted and replaced with direct browser fetches to CoinGecko (no key needed) and the existing in-repo mock DEX data. No server logic required. - Vite 8 + React 19 + wouter routing; pure CSS per lux.cloud palette - lightweight-charts retained for token charts - tsconfig include/exclude scoped so Foundry Solidity in src/ stays untouched - Dockerfile now: node build → copy dist/ into ghcr.io/hanzoai/spa - Drops Next.js, Tailwind, postcss, middleware, Next's per-route file API Routes: /, /tokens, /tokens/:id, /pairs, /embed/:widget Embeds still work via public/embed.js (iframe → /embed/<widget>)