How akshithkl/dailyconnect works
DailyConnect is a social sharing and messaging application. A user enters through the React client, which communicates with FastAPI; the backend authenticates requests and serves profile/search, photo-feed, and conversation features backed by relational data and image storage. The graph separates these user-facing domains from shared authentication and persistence layers. Several central files were not excerpted, so their internal calls are shown only where the README or source index supports the relationship.
Main entry points: main.py FastAPI application · users.py Profiles and search · posts.py Posts and feed · messages.py Conversations and chat
Components 17
Web client
- React application
frontend/src/App.jsx - Client entry
frontend/src/main.jsx - Axios API client
frontend/src/services/api.js
Identity and profiles
- Accounts and login
backend/app/routers/auth.py - Profiles and search
backend/app/routers/users.py - JWT and passwords
backend/app/core/security.py - User authorization
backend/app/deps.py
Photo sharing
- Posts and feed
backend/app/routers/posts.py - Image storage
backend/app/services/storage.py
Messaging
- Conversations and chat
backend/app/routers/messages.py
Backend platform
- Request and response schemas
backend/app/schemas.py - Domain models
backend/app/models.py - SQL database
backend/app/core/database.py - Backend settings
backend/app/core/config.py - FastAPI application
backend/app/main.py
Other components
- Site user
- Cloudinary image service
Connections 26
- Site user → Client entry: uses
README.md - Client entry → React application: renders
frontend/src/main.jsx - Axios API client → FastAPI application: sends API requests
README.md - FastAPI application → Accounts and login: registers routes
backend/app/main.py - FastAPI application → Profiles and search: registers routes
backend/app/main.py - FastAPI application → Posts and feed: registers routes
backend/app/main.py - FastAPI application → Conversations and chat: registers routes
backend/app/main.py - FastAPI application → SQL database: creates tables
backend/app/main.py - FastAPI application → Backend settings: configures CORS
backend/app/main.py - Accounts and login → JWT and passwords: uses authentication
README.md - User authorization → JWT and passwords: decodes tokens
backend/app/deps.py - User authorization → SQL database: loads user
backend/app/deps.py - Profiles and search → User authorization: requires user
backend/app/routers/users.py - Posts and feed → User authorization: requires user
backend/app/routers/posts.py - Conversations and chat → User authorization: requires user
backend/app/routers/messages.py - Profiles and search → Image storage: uploads and resolves images
backend/app/routers/users.py - Posts and feed → Image storage: uploads and deletes images
backend/app/routers/posts.py - Conversations and chat → Image storage: resolves image URLs
backend/app/routers/messages.py - Posts and feed → Request and response schemas: validates and serializes
backend/app/routers/posts.py - Conversations and chat → Request and response schemas: validates and serializes
backend/app/routers/messages.py - Profiles and search → Request and response schemas: validates and serializes
backend/app/routers/users.py - Posts and feed → Domain models: reads and writes
backend/app/routers/posts.py - Conversations and chat → Domain models: reads and writes
backend/app/routers/messages.py - Profiles and search → Domain models: reads and writes
backend/app/routers/users.py - Domain models → SQL database: uses ORM base
backend/app/models.py - Image storage → Cloudinary image service: stores images
README.md