This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This app simulates a QR-powered issue reporting system with a real-time admin dashboard. All data is mocked.
-
Report flow
- Open
/r/BIN-123,/r/LGT-456, or/r/WTR-789to see category preselected. - Fill form: category segmented control, urgency, optional note, attach photo (<=3MB), and map pin/GPS.
- Submit to see success page at
/r/successwith ticket ID.
- Open
-
Admin dashboard
- Open
/admin. - Left: map with markers by status; urgent items show a soft pulsing ring. Right: searchable/filterable issue list.
- Selecting in the list highlights the map marker (and vice versa).
- Export CSV of filtered issues.
- Open
-
Demo controls (development only)
- A sticky DemoBar appears in dev mode on
/admin. - Trigger Urgent Issue: inserts a nearby urgent item, shows toast and a short chime.
- Random Status Update: cycles a random issue status.
- A sticky DemoBar appears in dev mode on
Notes
- Real-time is mocked with a subscription that randomly inserts or updates issues.
- Animations respect
prefers-reduced-motion. - Dark mode supported; toggle in the header.