How pradeepmajji853/scalable-url-management-platform works
Linkly is a URL-management SaaS: users create and configure short links, share them with teams, and review click analytics through a React dashboard and Express API. Redirect resolution is a separate runtime path; the README describes Redis cache-aside lookup and asynchronous click tracking, while the sampled controller shows redirects and password verification. The graph preserves authentication, teams, developer keys, analytics, and background processing. Some feature implementations and wiring were not sampled, so undocumented relationships are omitted or marked unverified.
Main entry points: app.ts Express API · App.tsx React application · index.ts BullMQ queues · connection.ts PostgreSQL access
Components 20
Web dashboard
- React application
frontend/src/App.tsx - Authentication screens
frontend/src/contexts/AuthContext.tsx - Link management
frontend/src/pages/dashboard/UrlsPage.tsx - Analytics dashboard
frontend/src/pages/dashboard/AnalyticsPage.tsx - Team workspace
frontend/src/pages/dashboard/TeamPage.tsx - Account settings
frontend/src/pages/dashboard/SettingsPage.tsx - HTTP API client
frontend/src/api/client.ts
API and domain
- Express API
backend/src/app.ts - Authentication
backend/src/services/auth.service.ts - Link and redirect service
backend/src/services/url.service.ts - Team service
backend/src/services/team.service.ts - Developer API keys
backend/src/services/apiKey.service.ts - Analytics service
backend/src/services/analytics.service.ts
Persistence and cache
- PostgreSQL access
backend/src/database/connection.ts - Redis cache
backend/src/configs/redis.ts
Background processing
- BullMQ queues
backend/src/queues/index.ts - Click processing
backend/src/jobs/clickProcessor.ts - Analytics processing
backend/src/jobs/analyticsProcessor.ts - Email processing
backend/src/jobs/emailProcessor.ts
Other components
- Browser user
Connections 22
- Browser user → React application: uses
README.md - React application → Authentication screens: provides auth
frontend/src/App.tsx - React application → Link management: routes to
frontend/src/App.tsx - React application → Analytics dashboard: routes to
frontend/src/App.tsx - React application → Team workspace: routes to
frontend/src/App.tsx - React application → Account settings: routes to
frontend/src/App.tsx - React application → HTTP API client: makes API calls
- HTTP API client → Express API: sends requests
README.md - Express API → Link and redirect service: dispatches redirects
backend/src/app.ts - Express API → Authentication: routes auth
- Express API → Team service: routes teams
- Express API → Developer API keys: routes key operations
- Express API → Analytics service: routes analytics
- Authentication → BullMQ queues: enqueues email
backend/src/services/auth.service.ts - Express API → PostgreSQL access: persists records
README.md - Express API → Redis cache: reads and writes cache
README.md - Express API → BullMQ queues: enqueues click jobs
README.md - BullMQ queues → Click processing: dispatches jobs
backend/src/server.ts - BullMQ queues → Analytics processing: dispatches jobs
backend/src/server.ts - BullMQ queues → Email processing: dispatches jobs
backend/src/server.ts - Click processing → PostgreSQL access: logs clicks
README.md - Analytics processing → PostgreSQL access: reads click data