MicroGov

AI-powered complaints turned into verified municip

HackNex Season 2Shipped September 26, 2026#general#ai
Visit Repo
MicroGov banner

About

## Challenges we ran into

Building a real-time multimodal pipeline with geo-tracking and dual-role access presented a few tough hurdles:

The SQLite Schema Lock: When we added user relationships and wallet models to our SQLAlchemy schema, SQLite threw sqlite3.OperationalError: table complaints has no column named user_id. Because SQLite doesn't handle live schema migrations gracefully without Alembic, we kept getting server crashes during endpoint testing until we built auto-reset script helpers for local dev.

Bcrypt & Python 3.13 Encoding Bugs: While implementing password hashing alongside JWT, we ran into a nasty AttributeError: module 'bcrypt' has no attribute '__about__' caused by incompatibilities between newer bcrypt releases (4.1.0+) and passlib. Truncating 72-byte passwords and pinning the underlying bcrypt library to a stable 4.0.1 version solved the internal server errors.

Leaflet Map Rendering Crashing React: Adding Leaflet maps to Vite initially caused blank white screens (Uncaught ReferenceError) because map tiles were trying to measure DOM dimensions before React components finished mounting, along with missing global CSS imports. We solved this by creating guarded client-side rendering wrappers and explicitly importing Leaflet CSS globally.

## The problem it solves

# The Problem It Solves

Traditional civic grievance portals are digital black holes: citizens struggle with confusing category drop-downs, while city staff waste hundreds of hours manually sorting vague reports, filtering out duplicates, and trying to route issues to the right department. Worse, tickets are frequently closed on paper without actual fixes being made on the ground.

## MicroGov fixes this end-to-end:

  • **For Citizens**: They simply snap a photo and record a quick voice note in their native language—multimodal AI automatically extracts the defect, tags GPS location, and files the report.
  • **For Cities**: It auto-classifies issues, computes a dynamic 0–100 Priority Score, merges duplicate reports within a 50-meter radius, and routes work orders to the correct department.
  • **For Accountability**: Field workers must upload an "After" photo, which Gemini AI compares against the "Before" photo to verify the repair before closing the ticket. Citizens and officers both earn GovCoins redeemable for local partner vouchers.

Screenshots

MicroGov screenshot 1MicroGov screenshot 2MicroGov screenshot 3MicroGov screenshot 4MicroGov screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.