Skip to content

IshaanG165/hackathon-main

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

QuickFix QR — How to Demo

This app simulates a QR-powered issue reporting system with a real-time admin dashboard. All data is mocked.

  1. Report flow

    • Open /r/BIN-123, /r/LGT-456, or /r/WTR-789 to 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/success with ticket ID.
  2. 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.
  3. 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.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors