How yaya1426/manhattan-project works
The Manhattan Project is a Laravel admin backend and API for a course-and-podcast marketing site. Its main workflow is admins author and publish course content, then the separate marketing site requests published or coming-soon course data through the API. Other important branches manage site promotions and review inbound podcast, contact, and course-interest submissions; podcast requests can trigger PR email. The graph reflects documented flows and source-index references; several controllers and route files were not sampled, so uncertain connections are omitted or shown as unverified.
Main entry points: web.php Web routes · api.php API routes · CourseController.php Course editor · CourseApiController.php Course API
Components 22
Course content
- Course editor
app/Http/Controllers/CourseController.php - Course records
app/Models/Course.php - Course sections
app/Models - Course themes
app/Models/CourseTheme.php - Theme presets
app/Models/ThemePreset.php
Public API
- API routes
routes/api.php - API key and CORS
app/Http/Middleware/ApiKeyMiddleware.php - Course API
app/Http/Controllers/Api/CourseApiController.php - Promotion API
app/Http/Controllers/Api/SitePromotionController.php - Interest API
app/Http/Controllers/Api/ComingSoonInterestController.php
Admin operations
- Web routes
routes/web.php - Admin authentication
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Contact submissions
app/Http/Controllers/ContactMessageController.php - Podcast requests
app/Http/Controllers/PodcastGuestController.php - Interest management
app/Http/Controllers/Admin/ComingSoonInterestController.php - Popup and banner
app/Http/Controllers/Admin/FlashPopupController.php
Services and integrations
- Promotion availability
app/Services/PromotionService.php - Email notifications
app/Services/SendGridService.php - Phone normalization
app/Services/PhoneNumberService.php
Other components
- Admin
- Marketing site
- SendGrid
Connections 24
- Admin → Web routes: uses panel
- Web routes → Admin authentication: routes login
- Web routes → Course editor: routes admin
- Course editor → Course records: updates
app/Http/Controllers/CourseController.php - Course editor → Course sections: saves sections
app/Http/Controllers/CourseController.php - Course editor → Course themes: sets theme
app/Http/Controllers/CourseController.php - Course themes → Theme presets: references preset
- Marketing site → API routes: requests data
- API routes → API key and CORS: requires key
- API routes → Course API: routes course requests
- Course API → Course records: loads courses
app/Http/Controllers/Api/CourseApiController.php - Course API → Course sections: formats sections
app/Http/Controllers/Api/CourseApiController.php - API routes → Promotion API: routes promotion requests
- Promotion API → Promotion availability: checks availability
- API routes → Interest API: routes interest requests
- Interest API → Phone normalization: normalizes numbers
- Interest API → Interest management: shares interest records
- Web routes → Contact submissions: routes review
- Web routes → Podcast requests: routes review
- Web routes → Interest management: routes review
- Podcast requests → Email notifications: sends notification
app/Http/Controllers/PodcastGuestController.php - Email notifications → SendGrid: sends email
- Web routes → Popup and banner: routes editing
- Popup and banner → Promotion availability: provides promotion data