How yulanto-developers/freight_digital works
Symposium is a Next.js conference and freight-industry marketing site, with public event, editorial, and service pages plus account and admin features. Visitors browse the homepage and dedicated content pages; blog detail pages load Markdown posts and render them as HTML. Account routes provide registration, login, logout, and profile operations backed by MySQL. The graph emphasizes documented component calls and storage operations; several routes and UI connections are inferred from the app structure and are marked unverified rather than asserted as inspected.
Main entry points: config.ts MySQL pool · [slug]/page.tsx Blog detail · route.ts Profile endpoint · app/page.tsx Homepage
Components 27
Public site
- Homepage
src/app/page.tsx - Home sections
src/components/Home - About page
src/app/(site)/about/page.tsx - About components
src/components/about/index.tsx - Services page
src/app/(site)/services/page.tsx - Schedules page
src/app/(site)/schedules/page.tsx - Speakers page
src/app/(site)/speakers/page.tsx - Edition page
src/app/(site)/edition/page.tsx - Contact page
src/app/(site)/contact/page.tsx
Editorial content
- Blog listing
src/app/(site)/blog/page.tsx - Blog detail
src/app/(site)/blog/[slug]/page.tsx - Blog components
src/components/Blog/BlogList/index.tsx - Markdown posts
src/utils/markdown.ts - Markdown renderer
src/utils/markdownToHtml.ts
Accounts and admin
- Sign-in and signup
src/components/Auth/SignIn/index.tsx - Registration UI
src/components/Auth/SignUp/index.tsx - Login endpoint
src/app/api/login/route.ts - Registration endpoint
src/app/api/register/route.ts - Logout endpoint
src/app/api/logout/route.ts - Profile endpoint
src/app/api/profile/route.ts - Admin profile
src/app/(site)/admin/profile/page.tsx - Auth mock
src/lib/trash/authMock.tsx
Data access
- Cookie validation
src/lib/CheckCookies.tsx - MySQL pool
src/lib/config.ts - Event data
src/app/api/data.tsx
Other components
- Visitor
- MySQL database
Connections 28
- Visitor → Homepage: browses
- Homepage → Home sections: renders
src/app/page.tsx - Visitor → About page: opens
- Visitor → Services page: opens
- Visitor → Schedules page: opens
- Visitor → Speakers page: opens
- Visitor → Edition page: opens
- Visitor → Contact page: opens
- About page → About components: renders
src/app/(site)/about/page.tsx - Visitor → Blog listing: browses
- Blog listing → Blog components: renders
src/app/(site)/blog/page.tsx - Visitor → Blog detail: opens post
- Blog detail → Markdown posts: loads posts
src/app/(site)/blog/[slug]/page.tsx - Blog detail → Markdown renderer: renders content
src/app/(site)/blog/[slug]/page.tsx - Blog components → Markdown posts: loads posts
src/components/Blog/BlogList/index.tsx - Visitor → Sign-in and signup: starts sign-in · Inferred; not shown in the code that was read.
- Visitor → Registration UI: starts signup · Inferred; not shown in the code that was read.
- Sign-in and signup → Login endpoint: submits credentials · Inferred; not shown in the code that was read.
- Registration UI → Registration endpoint: submits registration · Inferred; not shown in the code that was read.
- Visitor → Logout endpoint: requests logout · Inferred; not shown in the code that was read.
- Visitor → Admin profile: manages profile · Inferred; not shown in the code that was read.
- Admin profile → Profile endpoint: updates profile · Inferred; not shown in the code that was read.
- Login endpoint → MySQL pool: queries
src/app/api/login/route.ts - Registration endpoint → MySQL pool: creates accounts
src/app/api/register/route.ts - Profile endpoint → Cookie validation: validates token
src/app/api/profile/route.ts - Profile endpoint → MySQL pool: reads and updates
src/app/api/profile/route.ts - MySQL pool → MySQL database: creates pool
src/lib/config.ts - Home sections → Event data: loads event data · Inferred; not shown in the code that was read.
src/components/Home/WorkSpeakers/index.tsx