
🛕 Religious & Spiritual Organisations · C4 Architecture · Pro
A digital platform for a large temple trust: darshan and seva bookings, online donations with tax receipts, prasad orders, accommodation and crowd information.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
Temple trust platform: devotees use a website and mobile app in several languages. Services: darshan and seva slot booking with ID verification, online donations with 80G receipts, prasad orders with delivery by post, and guest house booking. A payment service handles UPI and cards. A crowd service shows live queue waiting time from turnstile counts. Temple staff use an admin portal. Data in PostgreSQL.
C4Container
title Temple Management Platform
Person(dev, "Devotee", "Books darshan, donates, orders prasad")
Person(staff, "Temple Staff", "Manages slots and counters")
System_Boundary(tmp, "Temple Trust Platform") {
Container(app, "Website and App", "Angular / Flutter", "Multi-language")
Container(book, "Darshan and Seva Booking", "Java", "Slots and ID checks")
Container(don, "Donation Service", "Java", "Donations and 80G receipts")
Container(pra, "Prasad Orders", "Node.js", "Orders and postal delivery")
Container(acc, "Accommodation Booking", "Node.js", "Guest house rooms")
Container(crowd, "Crowd Service", "Python", "Live queue waiting time")
Container(admin, "Admin Portal", "Angular", "Slots, counters, reports")
ContainerDb(db, "Trust DB", "PostgreSQL", "Bookings, donors, receipts")
}
System_Ext(pg, "Payment Gateway", "UPI, cards")
System_Ext(post, "Postal Service", "Prasad delivery")
System_Ext(gates, "Turnstiles", "Entry counts")
Rel(dev, app, "Uses")
Rel(staff, admin, "Uses")
Rel(app, book, "Books slots")
Rel(app, don, "Donates")
Rel(app, pra, "Orders prasad")
Rel(app, acc, "Books rooms")
Rel(app, crowd, "Waiting time")
Rel(book, pg, "Payments")
Rel(don, pg, "Payments")
Rel(pra, post, "Ships")
Rel(gates, crowd, "Counts")
Rel(book, db, "Reads/writes")How a devotee books a special darshan slot online: choosing a date, ID verification, holding the slot during payment and getting a QR ticket for entry.
How an online donation to a religious trust is processed, from choosing a cause to issuing an 80G tax receipt and filing donor details with the tax department.
The systems used to manage crowds during a big festival or yatra: cameras, turnstiles and sensors in the field, a command centre, and alerts to police and volunteers.
Tables for a religious trust: devotees, donations to causes, receipts, seva bookings and volunteer shifts.
The states of a prasad order sent by post to a devotee, from payment to delivery, including returns for wrong addresses.
How a community kitchen plans daily meals: expected footfall, ingredient stock, donations in kind, cooking batches and leftovers going to shelters.