How nasstyfox/giftofthegivers works
Gift of the Givers is an ASP.NET Core MVC web application for charitable giving and relief-project administration. Its principal workflow accepts and validates a donation, optionally associates it with a signed-in user, persists it, creates a tax-certificate record, and shows success or certificate information. Other product stages include volunteer registration, public project browsing and employee project updates, account registration, and a dashboard. The excerpts show controller-to-database operations and startup configuration; the README is empty, and several controllers and views were not sampled, so those relationships are not asserted.
Main entry points: ApplicationDbContext.cs Application database · ProjectController.cs Project workflow · ApplicationUser.cs User entity · DonationController.cs Donation workflow
Components 20
Web workflows
- Donation workflow
GiftOfTheGivers/Controllers/DonationController.cs - Project workflow
GiftOfTheGivers/Controllers/ProjectController.cs - Volunteer workflow
GiftOfTheGivers/Controllers/VolunteerController.cs - Dashboard
GiftOfTheGivers/Controllers/DashboardController.cs - Contact
GiftOfTheGivers/Controllers/ContactController.cs - Home pages
GiftOfTheGivers/Controllers/HomeController.cs
Identity and startup
- Account registration
GiftOfTheGivers/Areas/Identity/Pages/Account/Register.cshtml.cs - Application startup
GiftOfTheGivers/Program.cs - Initial data seeding
GiftOfTheGivers/Data/DbSeeder.cs
Domain and persistence
- Application database
GiftOfTheGivers/Data/ApplicationDbContext.cs - User entity
GiftOfTheGivers/Models/ApplicationUser.cs - Donation entity
GiftOfTheGivers/Models/Donation.cs - Tax certificate entity
GiftOfTheGivers/Models/TaxCertificate.cs - Volunteer entity
GiftOfTheGivers/Models/Volunteer.cs - Relief project entity
GiftOfTheGivers/Models/ReliefProject.cs - Project update entity
GiftOfTheGivers/Models/ProjectUpdate.cs - Error view model
GiftOfTheGivers/Models/ErrorViewModel.cs
Other components
- Donor
- Visitor
- Employee
Connections 21
- Donor → Donation workflow: submits
- Visitor → Project workflow: browses
- Employee → Project workflow: maintains
- Donor → Volunteer workflow: registers
- Donor → Account registration: creates account
- Donation workflow → Application database: saves and reads
GiftOfTheGivers/Controllers/DonationController.cs - Donation workflow → User entity: gets user ID
GiftOfTheGivers/Controllers/DonationController.cs - Project workflow → Application database: queries and saves
GiftOfTheGivers/Controllers/ProjectController.cs - Project workflow → User entity: gets employee ID
GiftOfTheGivers/Controllers/ProjectController.cs - Volunteer workflow → Application database: saves volunteer
GiftOfTheGivers/Controllers/VolunteerController.cs - Volunteer workflow → User entity: gets user ID
GiftOfTheGivers/Controllers/VolunteerController.cs - Dashboard → Application database: queries
GiftOfTheGivers/Controllers/DashboardController.cs - Application startup → Application database: configures provider
GiftOfTheGivers/Program.cs - Application startup → Initial data seeding: runs seeding
GiftOfTheGivers/Program.cs - Initial data seeding → Application database: seeds projects
GiftOfTheGivers/Data/DbSeeder.cs - Application database → User entity: maps identity
GiftOfTheGivers/Data/ApplicationDbContext.cs - Application database → Donation entity: maps donations
GiftOfTheGivers/Data/ApplicationDbContext.cs - Application database → Tax certificate entity: maps certificates
GiftOfTheGivers/Data/ApplicationDbContext.cs - Application database → Volunteer entity: maps volunteers
GiftOfTheGivers/Data/ApplicationDbContext.cs - Application database → Relief project entity: maps projects
GiftOfTheGivers/Data/ApplicationDbContext.cs - Application database → Project update entity: maps updates
GiftOfTheGivers/Data/ApplicationDbContext.cs