How manassebonsomi/clone_x_adonisjs works
NovaTech is an AdonisJS social network. Its principal workflow is account creation or login, then authenticated users publish posts and browse timelines or profiles, with social interactions and privacy controls; users can also search, message, and request AI assistance. The graph emphasizes documented routes and directly visible calls. Many controllers and their persistence details were not sampled, so those feature branches are included from the route map without speculative model or database edges.
Main entry points: routes.ts HTTP routes · profile_controller.ts Profiles and privacy · tweets_controller.ts Post publishing · session_controller.ts Signup and login
Components 23
Accounts and profiles
- Signup and login
app/controllers/session_controller.ts - Account creation
app/controllers/new_account_controller.ts - Google sign-in
app/controllers/google_auths_controller.ts - Profiles and privacy
app/controllers/profile_controller.ts - User records
app/models/user.ts - Avatar uploads
app/services/upload_service.ts
Social publishing
- Post publishing
app/controllers/tweets_controller.ts - Timeline feed
app/controllers/timelines_controller.ts - Posts and media
app/models/tweet.ts - Likes, reposts, comments
app/controllers/retweets_controller.ts - Comment handling
app/controllers/comments_controller.ts - Follows and requests
app/controllers/follows_controller.ts - Blocks
app/controllers/blocks_controller.ts
Discovery and messaging
- Search and hashtags
app/controllers/searches_controller.ts - Hashtag browsing
app/controllers/hashtags_controller.ts - Direct messages
app/controllers/messages_controller.ts
AI assistance
- AI endpoints
app/controllers/groks_controller.ts - AI generation and audit
app/services/grok_service.ts
HTTP runtime
- HTTP routes
start/routes.ts
Other components
- Visitor / member
- Groq API
- Application database
config/database.ts - Web client
Connections 24
- Visitor / member → HTTP routes: sends requests
start/routes.ts - HTTP routes → Signup and login: routes login
start/routes.ts - HTTP routes → Account creation: routes signup
start/routes.ts - HTTP routes → Google sign-in: routes OAuth
start/routes.ts - HTTP routes → Profiles and privacy: routes profiles
start/routes.ts - HTTP routes → Timeline feed: routes feed
start/routes.ts - HTTP routes → Post publishing: routes posts
start/routes.ts - HTTP routes → Likes, reposts, comments: routes reactions
start/routes.ts - HTTP routes → Comment handling: routes comments
start/routes.ts - HTTP routes → Follows and requests: routes follows
start/routes.ts - HTTP routes → Blocks: routes blocks
start/routes.ts - HTTP routes → Search and hashtags: routes search
start/routes.ts - HTTP routes → Hashtag browsing: routes tags
start/routes.ts - HTTP routes → Direct messages: routes messages
start/routes.ts - HTTP routes → AI endpoints: routes AI
start/routes.ts - Signup and login → User records: queries and saves
app/controllers/session_controller.ts - Profiles and privacy → User records: queries and saves
app/controllers/profile_controller.ts - Profiles and privacy → Avatar uploads: uploads avatars
app/controllers/profile_controller.ts - Post publishing → Posts and media: creates posts
app/controllers/tweets_controller.ts - Post publishing → Hashtag browsing: attaches hashtags
app/controllers/tweets_controller.ts - Profiles and privacy → Posts and media: loads activity
app/controllers/profile_controller.ts - AI endpoints → AI generation and audit: delegates requests
- AI generation and audit → Groq API: calls completion API
app/services/grok_service.ts - Web client → HTTP routes: uses web interface