How harshitj101/vlode1 works
Vlode is a full-stack blogging platform. The main workflow runs from browser navigation and authentication through blog discovery or authoring, authenticated API routes, and PostgreSQL-backed results; profile and single-article views are distinct read stages. The graph also includes shared input schemas and the writing-modal interaction. Some pages and backend startup wiring are unsampled, so those connections are omitted rather than inferred.
Main entry points: App.tsx Route application · blog.ts Blog routes · Signup.tsx Signup and signin · user.ts User authentication routes
Components 17
Web experience
- Route application
frontend/src/App.tsx - Landing page
frontend/src/pages/Landing.tsx
Authentication
- Signup and signin
frontend/src/pages/Signup.tsx - Authentication form
frontend/src/components/AuthCard.tsx
Blog content
- Home feed
frontend/src/components/Container.tsx - Author profile
frontend/src/pages/User.tsx - Article reader
frontend/src/pages/Blog.tsx - Blog card
frontend/src/components/BlogCard.tsx - Writing modal UI
frontend/src/components/WriteModal.tsx - Writing workflow
frontend/src/hooks/useWriteModal.ts - Blog and profile fetches
frontend/src/hooks/index.ts
API and persistence
- Hono API entry
backend/src/index.ts - User authentication routes
backend/src/routes/user.ts - Blog routes
backend/src/routes/blog.ts - Shared input schemas
common/src/index.ts - PostgreSQL data model
backend/prisma/schema.prisma
Other components
- Reader or author
Connections 23
- Reader or author → Route application: opens
frontend/src/App.tsx - Route application → Landing page: routes
frontend/src/App.tsx - Route application → Signup and signin: routes
frontend/src/App.tsx - Route application → Home feed: routes
frontend/src/App.tsx - Route application → Author profile: routes
frontend/src/App.tsx - Route application → Article reader: routes
frontend/src/App.tsx - Signup and signin → Authentication form: renders
frontend/src/pages/Signup.tsx - Signup and signin → User authentication routes: submits signup
frontend/src/pages/Signup.tsx - Signup and signin → Shared input schemas: uses input types
frontend/src/pages/Signup.tsx - Home feed → Blog and profile fetches: fetches feed
frontend/src/components/Container.tsx - Home feed → Blog card: renders
frontend/src/components/Container.tsx - Author profile → Blog and profile fetches: loads profile
frontend/src/hooks/index.ts - Author profile → Blog card: renders posts
frontend/src/pages/User.tsx - Article reader → Blog and profile fetches: loads article
frontend/src/pages/Blog.tsx - Writing modal UI → Writing workflow: uses workflow
frontend/src/components/Header.tsx - Writing workflow → Blog routes: posts blog
frontend/src/hooks/useWriteModal.ts - Blog and profile fetches → Blog routes: requests blog data
frontend/src/hooks/index.ts - Hono API entry → User authentication routes: mounts routes
backend/src/index.ts - Hono API entry → Blog routes: mounts routes
backend/src/index.ts - User authentication routes → Shared input schemas: validates inputs
backend/src/routes/user.ts - Blog routes → Shared input schemas: validates inputs
backend/src/routes/blog.ts - User authentication routes → PostgreSQL data model: reads and writes
backend/src/routes/user.ts - Blog routes → PostgreSQL data model: reads and writes
backend/src/routes/blog.ts