How sachinthax/eventease works
Project type and purpose
• This is a full-stack MERN (MongoDB, Express, React, Node.js) application called EventEase. It provides event management, ticket sales, waitlist handling, secure wallet transactions, and an AI assistant for ticket resale workflows.
File structure
• Top-level directories:
• backend – Node/Express API server (MVC pattern with config, controllers, models, routes, middleware, utility functions).
• frontend – React/Vite SPA (components, pages, context, services, utils).
• Configuration and build artifacts: .env, package.json, gitignore files, Vite config in frontend.
• Patterns:
• Backend uses REST routes tied to controllers and Mongoose models.
• Frontend separates UI components, pages, and services that call backend APIs.
• Shared services layer in frontend (authService, eventService, ticketService).
• External integrations in code:
• MongoDB (via backend/config/db.js)
• JWT authentication (generateToken utility)
• Passport Google OAuth (config/passport.js, googleController)
• Email (sendEmail utility)
• Firebase for asset uploads (frontend/utils/firebaseConfig.js, uploadToFirebase.js)
• AI assistant calls in aiController/aiRoutes
README for additional insights
• Confirms: real-time seat allocation, waitlist repurchasing, secure wallet, AI assistant.
• Highlights core user types: Organizers and Attendees.