How muhammads1364/edumotive works
EduMotive is the public education magazine, with a visitor workflow from routed pages to editorial content, issue reading, and subscription/account features. Motive Admin manages the magazine’s editorial and operational content; UniMedia provides a companion campus-media experience. The apps use ZiteJS endpoints and share Turso-backed data through the repository’s database package. Several routes and endpoint implementations were not sampled, so their internal call relationships are not asserted.
Main entry points: src/App.tsx Public routes · src/App.tsx Media routes · src/App.tsx Admin console · db.ts App DB clients
Components 26
EduMotive Public Site
- Public routes
apps/edumotive/src/App.tsx - Site layout
apps/edumotive/src/components/Layout.tsx - Editorial content
apps/edumotive/src/lib/content.ts - Visitor accounts
apps/edumotive/src/lib/auth.tsx - Articles and authors
apps/edumotive/src/pages/ArticlePage.tsx - Magazine reader
apps/edumotive/src/pages/IssueReaderPage.tsx - Subscriptions
apps/edumotive/src/pages/SubscribePage.tsx - Account and writing
apps/edumotive/src/pages/AccountPage.tsx - Programs and news
apps/edumotive/src/pages/NewsPage.tsx
Motive Admin
- Admin console
apps/motive-admin/src/App.tsx - Article moderation
apps/motive-admin/src/pages/ArticlesAdmin.tsx - Content management
apps/motive-admin/src/components/CrudPage.tsx - Site configuration
apps/motive-admin/src/pages/ConfigPages.tsx - Editorial planner
apps/motive-admin/src/pages/PlannerAdmin.tsx - Subscription admin
apps/motive-admin/src/pages/SubscriptionsAdmin.tsx - Admin access
apps/motive-admin/src/lib/admin.ts
UniMedia
- Media routes
apps/unimedia/src/App.tsx - Campus feed
apps/unimedia/src/components/PostCard.tsx - Post creation
apps/unimedia/src/components/NewPost.tsx - Stories
apps/unimedia/src/components/StoriesBar.tsx - Media profiles
apps/unimedia/src/pages/ProfilePage.tsx - Media accounts
apps/unimedia/src/lib/auth.tsx
Shared Data
- App DB clients
apps/edumotive/src/lib/db.ts - Turso client
packages/tursodb/index.ts - Turso database
Other components
- Visitor
Connections 25
- Visitor → Public routes: opens
apps/edumotive/src/App.tsx - Public routes → Site layout: wraps routes
apps/edumotive/src/App.tsx - Public routes → Articles and authors: routes to
apps/edumotive/src/App.tsx - Public routes → Magazine reader: routes to
apps/edumotive/src/App.tsx - Public routes → Subscriptions: routes to
apps/edumotive/src/App.tsx - Public routes → Account and writing: routes to
apps/edumotive/src/App.tsx - Public routes → Programs and news: routes to
apps/edumotive/src/App.tsx - Articles and authors → Editorial content: reads content
apps/edumotive/src/pages/ArticlePage.tsx - Editorial content → Public routes: fetches public data
apps/edumotive/src/lib/content.ts - Public routes → Visitor accounts: provides auth
apps/edumotive/src/App.tsx - Visitor → Admin console: opens
apps/motive-admin/src/App.tsx - Admin console → Article moderation: routes to
apps/motive-admin/src/App.tsx - Admin console → Site configuration: routes to
apps/motive-admin/src/App.tsx - Admin console → Editorial planner: routes to
apps/motive-admin/src/App.tsx - Admin console → Subscription admin: routes to
apps/motive-admin/src/App.tsx - Article moderation → Content management: uses CRUD
- Visitor → Media routes: opens
apps/unimedia/src/App.tsx - Media routes → Campus feed: renders posts
apps/unimedia/src/App.tsx - Media routes → Post creation: opens composer
apps/unimedia/src/App.tsx - Media routes → Stories: renders stories
apps/unimedia/src/App.tsx - Media routes → Media profiles: routes to
apps/unimedia/src/App.tsx - Media routes → Media accounts: provides auth
apps/unimedia/src/App.tsx - App DB clients → Turso client: creates client
- Turso client → Turso database: reads and writes
README.md - App DB clients → Turso database: connects app data
README.md