How gadotey/mgasystem works
MGAS is an early Next.js shell for memorial-event giving, explicitly marked as not production-ready. The visible workflow is an operator viewing a demo dashboard or opening the donation form; the form currently previews input and does not save it. The dashboard displays sample event, summary, and donation data. The repository also contains an initial Prisma data model and a health endpoint. The README describes planned safeguards and future capabilities, not implemented runtime flows; unsampled schema details are therefore not inferred.
Main entry points: app/page.tsx Giving dashboard · new/page.tsx Donation page · Sidebar.tsx Navigation · demo-data.ts Demo event and gifts
Components 12
Application pages
- Giving dashboard
app/page.tsx - Donation page
app/donations/new/page.tsx
Giving interface
- Navigation
components/Sidebar.tsx - Memorial banner
components/MemorialBanner.tsx - Giving stat card
components/StatCard.tsx - Recent donations
components/RecentDonations.tsx - Donation form
components/DonationForm.tsx
Demo data
- Demo event and gifts
lib/demo-data.ts - Prisma data model
prisma/schema.prisma
Platform endpoints
- Health endpoint
app/api/health/route.ts
Other components
- Operator
- Health-check caller
Connections 15
- Operator → Giving dashboard: opens
app/page.tsx - Operator → Donation page: opens
app/donations/new/page.tsx - Giving dashboard → Navigation: renders
app/page.tsx - Giving dashboard → Memorial banner: renders
app/page.tsx - Giving dashboard → Giving stat card: renders
app/page.tsx - Giving dashboard → Recent donations: renders
app/page.tsx - Giving dashboard → Demo event and gifts: reads
app/page.tsx - Memorial banner → Demo event and gifts: reads
components/MemorialBanner.tsx - Recent donations → Demo event and gifts: reads
components/RecentDonations.tsx - Donation page → Navigation: renders
app/donations/new/page.tsx - Donation page → Donation form: renders
app/donations/new/page.tsx - Donation page → Demo event and gifts: reads
app/donations/new/page.tsx - Navigation → Giving dashboard: links to
components/Sidebar.tsx - Navigation → Donation page: links to
components/Sidebar.tsx - Health-check caller → Health endpoint: checks
README.md