How mishrasatyam01473-ai/crowd-funding-app works
This is a full-stack crowdfunding platform: creators register campaigns, users browse and donate, and account holders track campaigns or donations; inquiries provide a separate support path. The React app routes and gates these experiences, while Express provides the documented API, MongoDB persistence, Razorpay order/signature handling, and Excel audit records. Frontend excerpts show several API calls and client-side flows; backend internals were not excerpted, so backend relationships below rely on README statements rather than inspected implementation.
Main entry points: App.jsx Route shell · server.js Payment verification API · DonationForm.jsx Donation checkout · Login.jsx Sign-in and signup
Components 18
Web application
- Route shell
crowd-funding-app/src/App.jsx - Navigation
crowd-funding-app/src/components/Navbar.jsx - Session auth
crowd-funding-app/src/utils/auth.js
Campaign fundraising
- Campaign discovery
crowd-funding-app/src/components/IndexPage.jsx - Campaign registration
crowd-funding-app/src/pages/CreateProgramme.jsx - Donation checkout
crowd-funding-app/src/pages/DonationForm.jsx - Donation history
crowd-funding-app/src/pages/DonationHistory.jsx
Accounts and support
- Sign-in and signup
crowd-funding-app/src/pages/Login.jsx - Creator dashboard
crowd-funding-app/src/pages/Dashboard.jsx - Support inquiry
crowd-funding-app/src/pages/QueryForm.jsx
API and records
- Express API
backend/server.js - Campaign and account API
backend/server.js - Payment verification API
backend/server.js - Inquiry API
backend/server.js - MongoDB
- Excel audit files
data
Other components
- Platform user
- Razorpay
Connections 28
- Platform user → Route shell: opens
- Route shell → Navigation: renders
crowd-funding-app/src/App.jsx - Route shell → Campaign discovery: routes
crowd-funding-app/src/App.jsx - Route shell → Campaign registration: routes
crowd-funding-app/src/App.jsx - Route shell → Donation checkout: routes
crowd-funding-app/src/App.jsx - Route shell → Donation history: routes
crowd-funding-app/src/App.jsx - Route shell → Sign-in and signup: routes
crowd-funding-app/src/App.jsx - Route shell → Creator dashboard: routes
crowd-funding-app/src/App.jsx - Route shell → Support inquiry: routes
crowd-funding-app/src/App.jsx - Route shell → Session auth: checks session
crowd-funding-app/src/App.jsx - Navigation → Session auth: reads and clears
crowd-funding-app/src/components/Navbar.jsx - Campaign discovery → Campaign and account API: fetches campaigns
crowd-funding-app/src/components/IndexPage.jsx - Campaign registration → Campaign and account API: registers campaign
README.md - Sign-in and signup → Campaign and account API: authenticates
README.md - Sign-in and signup → Session auth: stores session
crowd-funding-app/src/pages/Login.jsx - Creator dashboard → Campaign and account API: fetches account
crowd-funding-app/src/pages/Dashboard.jsx - Donation checkout → Payment verification API: creates order
crowd-funding-app/src/pages/DonationForm.jsx - Donation checkout → Razorpay: opens checkout
README.md - Payment verification API → Razorpay: verifies payment
README.md - Payment verification API → MongoDB: records donations
README.md - Payment verification API → Excel audit files: audits donations
README.md - Donation history → Express API: loads records
README.md - Support inquiry → Inquiry API: submits inquiry
crowd-funding-app/src/pages/QueryForm.jsx - Inquiry API → MongoDB: stores inquiries
README.md - Inquiry API → Excel audit files: audits inquiries
README.md - Express API → Campaign and account API: dispatches routes
backend/server.js - Express API → Payment verification API: dispatches routes
backend/server.js - Express API → Inquiry API: dispatches routes
backend/server.js