How kafelek69/prisma-app works
Prisma is an LGBTQ+ dating and social platform. Its main user journey is account creation and profile setup, followed by discovering profiles and forming matches; users can then chat and manage their account. The PHP pages and shared services are the main runtime, with a separate database layer. The README also describes safer messaging and premium features; its local-events map is explicitly marked “TO DO.” Several page-to-page runtime calls were not sampled, so those connections are left out rather than inferred.
Main entry points: auth.php Authentication · db.php MySQL database · badges.php Badges · admin.php Administration
Components 25
Accounts & Profiles
- Registration
register.php - Login
login.php - Authentication
php/auth.php - Profile view
profile.php - Profile editing
edit-profile.php - Preferences
preferences.php - Account settings
settings.php
Discovery & Social
- Profile discovery
swipe.php - Matching engine
php/matchmaker.php - Likes
likes.php - Matches
matches.php - Chat
chat.php - Message handling
messages.php - Realtime chat server
node_server/server.js
Platform Services
- Content filtering
php/content_filter.php - Badges
php/badges.php - MySQL database
php/db.php - Identity verification
api/verify.php - Face matching API
api/face_match_api.py - Site navigation
templates/components/header.php
Admin & Monetization
- Administration
admin.php - Premium plans
premium.php - Payment processing
api/process_payment.php - Ad display
templates/components/ads.php
Other components
- User
Connections 23
- User → Registration: creates account
- User → Login: signs in
- Registration → Authentication: registers with
register.php - Login → Authentication: authenticates with
php/auth.php - Authentication → MySQL database: reads and writes
php/auth.php - Profile editing → Content filtering: filters content
edit-profile.php - Profile editing → Badges: evaluates badges
edit-profile.php - Profile view → Badges: loads badges
profile.php - Badges → MySQL database: reads and writes
php/badges.php - Matching engine → MySQL database: queries matches
php/matchmaker.php - Profile view → Authentication: loads user
profile.php - Administration → Authentication: uses authentication
admin.php - Administration → Badges: uses badges
admin.php - Administration → MySQL database: accesses data
admin.php - Payment processing → Authentication: checks session
api/process_payment.php - Payment processing → MySQL database: accesses data
api/process_payment.php - Ad display → MySQL database: checks premium status
templates/components/ads.php - User → Profile discovery: discovers profiles
- User → Chat: messages matches
- User → Identity verification: verifies identity
- Identity verification → Face matching API: requests face match
- Premium plans → Payment processing: initiates payment
- Chat → Realtime chat server: uses realtime transport