How macalistair1/sex_actions_app works
Project type and purpose
• This is a full-stack, monolithic web application with both RESTful HTTP APIs and real-time (WebSocket) capabilities.
• Purpose: an online interactive “sex actions” game/platform where users authenticate, interact via messages, media and game actions, file uploads, blocking, complaints, and receive email notifications.
File structure
• Entry points: app.js or server.js
• config/: application-wide configuration (database, Passport strategies)
• routes/: HTTP endpoint definitions (split by feature)
• controllers/: business logic for each resource (user, message, action, etc.)
• middleware/authenticate.js: JWT-based auth gating
• models/: Sequelize ORM models mapping to MySQL tables
• services/emailService.js: Nodemailer wrapper for sending mail
• socket.js: WebSocket (likely Socket.IO) setup for real-time interactions
• utils/validation.js: shared input-validation logic
• uploads/: local media storage for user-uploaded files
README for additional insights
• Tech stack: Node.js/Express, MySQL via Sequelize, JWT for auth, Passport for social login, Nodemailer, Express Validator, Bcrypt.
• Features call out key domains: auth, messaging, action requests, blocking, complaints, email notifications, real-time gaming.