How shehrozali6465372-ctrl/modern-living-hub works
Modern Living Hub is a static content and publishing site backed by a separately deployed Node/Express service. The principal documented flow is a user connecting Pinterest, completing OAuth through the backend, then using the Pinterest page to manage boards and publish pins. TikTok and YouTube have separate OAuth and publishing integrations; an affiliate scheduling capability is also visible in the tree and backend excerpt. Backend implementation details beyond the supplied excerpts are represented only where supported by documentation or indexed references.
Main entry points: server.js Express API · index.html Hub homepage · pinterest.html Pinterest workspace · tiktok.html TikTok workspace
Components 18
Site and publishing UI
- Hub homepage
index.html - Pinterest workspace
pinterest.html - TikTok workspace
tiktok.html - YouTube workspace
youtube.html - Core site behavior
assets/js/main.js - Pinterest client
assets/js/pinterest.js - TikTok client
assets/js/tiktok.js - YouTube client
assets/js/youtube.js
Backend and account flows
- Express API
server/src/server.js
Channel integrations
- Pinterest OAuth and API
server/src/server.js - TikTok OAuth and posting
server/src/tiktok.js - YouTube OAuth and uploads
server/src/youtube.js
Publishing automation
- Affiliate scheduler
assets/js/affiliate-scheduler.js
Other components
- Site visitor
- Pinterest Agent
- TikTok
- Google / YouTube
Connections 21
- Site visitor → Hub homepage: visits
README.md - Site visitor → Pinterest workspace: manages pins
README.md - Site visitor → TikTok workspace: publishes videos
- Site visitor → YouTube workspace: uploads videos
- Hub homepage → Pinterest workspace: opens workspace
README.md - Pinterest workspace → Pinterest client: runs client
- TikTok workspace → TikTok client: runs client
- YouTube workspace → YouTube client: runs client
- Hub homepage → Core site behavior: runs site logic
- Pinterest client → Express API: calls backend
README.md - TikTok client → Express API: calls backend
- YouTube client → Express API: calls backend
- Express API → Pinterest OAuth and API: handles OAuth and API
README.md - Express API → TikTok OAuth and posting: mounts integration
server/src/server.js - Express API → YouTube OAuth and uploads: mounts integration
server/src/server.js - Pinterest OAuth and API → Pinterest: authenticates and publishes
README.md - Pinterest OAuth and API → Pinterest Agent: persists credentials
- TikTok OAuth and posting → TikTok: authenticates and posts
- YouTube OAuth and uploads → Google / YouTube: authenticates and uploads
- Site visitor → Affiliate scheduler: sets publishing schedule
- Affiliate scheduler → Express API: submits schedules