MCPcopy Index your code
hub / github.com/Saishanjay/Grievance-Government

github.com/Saishanjay/Grievance-Government @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
118 symbols 337 edges 64 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

add an env file containing DATABASE_UR, JWT_SECRET, REFRESH_SECRET, NODE_ENV

Extension points exported contracts — how you extend this code

DashboardLayoutProps (Interface)
(no doc)
src/components/layout/DashboardLayout.tsx
MailData (Interface)
(no doc)
src/lib/mail.ts
Ward (Interface)
(no doc)
src/components/officer/OfficerDashboardClient.tsx
JWTPayload (Interface)
(no doc)
src/lib/jwt.ts
Complaint (Interface)
(no doc)
src/components/officer/OfficerDashboardClient.tsx
Complaint (Interface)
(no doc)
src/components/officer/ComplaintEditForm.tsx
Ward (Interface)
(no doc)
src/components/complaints/ComplaintForm.tsx

Core symbols most depended-on inside this repo

getAuthSession
called by 13
src/lib/jwt.ts
checkAdmin
called by 11
src/actions/admin.ts
getOfficerWardId
called by 4
src/actions/officer.ts
getAllWards
called by 3
src/actions/admin.ts
sendStatusUpdateEmail
called by 3
src/lib/mail.ts
hashPassword
called by 3
src/lib/auth.ts
getDashboardStats
called by 2
src/actions/admin.ts
getAllComplaints
called by 2
src/actions/admin.ts

Shape

Function 106
Interface 12

Languages

TypeScript100%

Modules by API surface

src/actions/admin.ts12 symbols
src/lib/jwt.ts7 symbols
src/actions/complaint.ts7 symbols
src/actions/officer.ts6 symbols
src/components/admin/Heatmap.tsx5 symbols
src/components/complaints/ComplaintForm.tsx4 symbols
src/actions/suggestion.ts4 symbols
src/components/officer/OfficerDashboardClient.tsx3 symbols
src/components/layout/DashboardLayout.tsx3 symbols
src/app/citizen/track/page.tsx3 symbols
src/actions/auth.ts3 symbols
src/lib/mail.ts2 symbols

Datastores touched

civic_resolveDatabase · 1 repos

For agents

$ claude mcp add Grievance-Government \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact