TypeScript 55.4%
Python 43.2%
SQL 1.2%
1# @websensor/web23Next.js 16 frontend for WebSensor.io. Served on port 8261 (loopback) behind the Fastify gateway (`apps/api`, port 8260), which proxies every non-`/api` path here.45## Environment67| Variable | Default | Purpose |8|---|---|---|9| `API_URL` | `http://127.0.0.1:8260` | Gateway base URL used by Server Components (loopback). |10| `NEXT_PUBLIC_API_URL` | *(empty → same origin)* | Base URL used by client components in dev when the site is not served through the gateway. |11| `NEXT_PUBLIC_SITE_URL` | `https://www.websensor.io` | Canonical URL for metadata, sitemap, JSON-LD. |12| `NEXT_TELEMETRY_DISABLED` | `1` | Recommended in production. |1314## Scripts1516`pnpm dev` (8261) · `pnpm build` · `pnpm start` · `pnpm typecheck` · `pnpm lint`1718All data pages are `force-dynamic`; API failures degrade to empty states so the build never depends on a running gateway.19