Open-source frontend for device owners to register air-quality monitors, receive a device secret (no rotation), and view PM2.5 readings.
- Install:
npm install - Env: create
.envwithVITE_CLERK_PUBLISHABLE_KEY=... - Develop:
npm run dev
- Sign in/out (Clerk)
- Dashboard
- Devices list
- Register device (issue secret)
- Device details (PM2.5 chart/history)
- Components: use shadcn/ui via CLI only — never copy manually
- Add components with:
npx shadcn@latest add <component>
- Add components with:
- Tech: React, TypeScript, Vite, Tailwind, shadcn/ui, Clerk