How elitetamil/matrimony works
Elite Tamil Matrimony is a matrimonial service for discovering profiles, expressing interest, and managing membership. Its frontend also provides account and profile management, messaging and notifications, and administrative tools. The visible server routes support email OTP, MSG91 token verification, Razorpay orders and payment confirmation, membership cancellation, expiry notices, and admin data operations. Source evidence is incomplete: the README is empty and many page implementations were not excerpted, so frontend-to-API connections are omitted where they cannot be verified.
Main entry points: verify-payment/route.ts Verify Payment · send-email-otp/route.ts Email OTP Routes · notify-expiry/route.ts Expiry Notifications · cancel-membership/route.ts Cancel Membership
Components 27
Accounts and Profiles
- Sign-in and Registration
frontend/src/app/login/page.tsx - Account API Routes
frontend/src/app/api/otp-login/route.ts - Email OTP Routes
frontend/src/app/api/send-email-otp/route.ts - OTP Store
frontend/src/lib/email/otp-store.ts - Email Templates
frontend/src/lib/email/templates.ts - MSG91 Token Verification
frontend/src/app/api/verify-msg91-token/route.ts - Profile Management
frontend/src/app/profile/edit/page.tsx - Profile Viewing
frontend/src/app/profile/[id]/page.tsx
Matrimonial Discovery
- Profile Search
frontend/src/app/search/page.tsx - Regular Search
frontend/src/app/search/regular/page.tsx - Matches
frontend/src/app/matches/page.tsx - Daily Recommendations
frontend/src/app/daily-recs/page.tsx
Member Engagement
- Interests
frontend/src/app/interests/page.tsx - Messaging
frontend/src/app/messages/page.tsx - Notifications
frontend/src/app/notifications/page.tsx - Expiry Notifications
frontend/src/app/api/notify-expiry/route.ts
Membership and Payments
- Membership and Payment Pages
frontend/src/app/membership/page.tsx - Create Payment Order
frontend/src/app/api/create-order/route.ts - Verify Payment
frontend/src/app/api/verify-payment/route.ts - Cancel Membership
frontend/src/app/api/cancel-membership/route.ts
Administration
- Admin Console
frontend/src/app/admin/page.tsx - Admin Data API
frontend/src/app/api/admin/data/route.ts
Other components
- Member
- MSG91
- Razorpay
- Supabase Data and Auth
- Resend Email
Connections 20
- Member → Sign-in and Registration: uses
- Member → Profile Management: manages profile
- Member → Profile Search: searches profiles
- Member → Matches: views matches
- Member → Membership and Payment Pages: manages membership
- Email OTP Routes → OTP Store: stores OTP
frontend/src/app/api/send-email-otp/route.ts - Email OTP Routes → Email Templates: renders email
frontend/src/app/api/send-email-otp/route.ts - Email OTP Routes → Resend Email: sends email
frontend/src/app/api/send-email-otp/route.ts - Account API Routes → Supabase Data and Auth: creates auth session
frontend/src/app/api/otp-login/route.ts - MSG91 Token Verification → MSG91: validates token
frontend/src/app/api/verify-msg91-token/route.ts - Create Payment Order → Razorpay: creates order
frontend/src/app/api/create-order/route.ts - Verify Payment → Supabase Data and Auth: updates membership
frontend/src/app/api/verify-payment/route.ts - Verify Payment → Email Templates: renders confirmation
frontend/src/app/api/verify-payment/route.ts - Verify Payment → Resend Email: sends confirmation
frontend/src/app/api/verify-payment/route.ts - Cancel Membership → Supabase Data and Auth: updates membership
frontend/src/app/api/cancel-membership/route.ts - Cancel Membership → Resend Email: sends cancellation
frontend/src/app/api/cancel-membership/route.ts - Expiry Notifications → Supabase Data and Auth: reads and records
frontend/src/app/api/notify-expiry/route.ts - Expiry Notifications → Resend Email: sends notice
frontend/src/app/api/notify-expiry/route.ts - Admin Data API → Supabase Data and Auth: queries and updates
frontend/src/app/api/admin/data/route.ts - Verify Payment → Razorpay: checks signature
frontend/src/app/api/verify-payment/route.ts