How tanmay-singh12/nextgen-metallurgy works
This repository implements a symposium website and registration backend. Visitors browse event information, register, receive a conference ticket, and can submit an abstract with supporting files; the registration modal also checks an existing participant’s status. The frontend composes the public page and sends registration and abstract requests through an API client. The backend routes requests to controllers, which validate input and delegate persistence and ticket generation to services. The README is empty; backend route mounting and some frontend composition are supported by source-index references, while unsampled route wiring is not expanded.
Main entry points: Home.jsx Home composition · registration.controller.js Registration handlers · Gallery.jsx Gallery content · registration.service.js Registration service
Components 26
Public symposium site
- Page entry
frontend/src/App.jsx - Home composition
frontend/src/pages/Home.jsx - Event sections
frontend/src/components/Events/Events.jsx - Hero section
frontend/src/components/Hero/Hero.jsx - Gallery content
frontend/src/components/Gallery/Gallery.jsx - Gallery data
frontend/src/data/gallery.js - Section headings
frontend/src/components/SectionHead.jsx - Registration form
frontend/src/components/RegistrationModal/RegistrationModal.jsx - Abstract form
frontend/src/components/abstract/AbstractSubmissionModal.jsx - API client
frontend/src/services/api.js
API request handling
- API application
backend/src/app.js - API route mount
backend/src/routes/index.js - Registration routes
backend/src/routes/registration.routes.js - Abstract routes
backend/src/routes/abstract.routes.js - Upload validation
backend/src/middleware/upload.middleware.js
Registration and abstracts
- Registration handlers
backend/src/controllers/registration.controller.js - Registration validation
backend/src/validators/registration.validator.js - Registration service
backend/src/services/registration.service.js - Registration records
backend/src/models/Registration.js - Abstract handlers
backend/src/controllers/abstract.controller.js - Abstract validation
backend/src/validators/abstract.validator.js - Abstract service
backend/src/services/abstract.service.js - Abstract records
backend/src/models/AbstractSubmission.js
Ticket generation
- Ticket service
backend/src/services/ticket.service.js - QR utility
backend/src/utils/qr.util.js
Other components
- Visitor
Connections 27
- Visitor → Page entry: opens
frontend/src/App.jsx - Page entry → Home composition: renders
frontend/src/App.jsx - Home composition → Hero section: renders
frontend/src/pages/Home.jsx - Home composition → Event sections: renders
frontend/src/pages/Home.jsx - Home composition → Gallery content: renders
frontend/src/pages/Home.jsx - Home composition → Registration form: renders
frontend/src/pages/Home.jsx - Home composition → Abstract form: renders
frontend/src/pages/Home.jsx - Gallery content → Gallery data: reads
frontend/src/components/Gallery/Gallery.jsx - Event sections → Section headings: renders
frontend/src/components/Events/Events.jsx - Gallery content → Section headings: renders
frontend/src/components/Gallery/Gallery.jsx - Registration form → API client: requests
frontend/src/components/RegistrationModal/RegistrationModal.jsx - Abstract form → API client: submits
frontend/src/components/abstract/AbstractSubmissionModal.jsx - API client → API application: sends HTTP
frontend/src/services/api.js - API application → API route mount: mounts
backend/src/app.js - Registration routes → Registration handlers: routes
backend/src/routes/registration.routes.js - Abstract routes → Abstract handlers: routes
backend/src/routes/abstract.routes.js - Abstract routes → Upload validation: validates uploads
backend/src/routes/abstract.routes.js - Registration handlers → Registration validation: validates
backend/src/controllers/registration.controller.js - Registration handlers → Registration service: delegates
backend/src/controllers/registration.controller.js - Registration handlers → Ticket service: generates ticket
backend/src/controllers/registration.controller.js - Abstract handlers → Abstract validation: validates
backend/src/controllers/abstract.controller.js - Abstract handlers → Abstract service: delegates
backend/src/controllers/abstract.controller.js - Registration service → Registration records: reads and writes
backend/src/services/registration.service.js - Registration service → Abstract records: reads
backend/src/services/registration.service.js - Abstract service → Registration records: checks registration
backend/src/services/abstract.service.js - Abstract service → Abstract records: reads and writes
backend/src/services/abstract.service.js - Ticket service → QR utility: uses
backend/src/services/ticket.service.js