How vedantpachauri84/university-resource-website works
University Resource Website is a Django application for students to find academic materials, manage accounts, and use AI study tools. The main workflow routes a browser request to a view, which validates input or queries content records, then renders a page; paper analysis additionally retrieves a PDF and calls Gemini. Major branches include accounts, notes/papers/resources, contact and blog content, and the AI chatbot. Source excerpts support the view, model, form, and AI links; some deployment and template wiring is documented only at a high level.
Main entry points: views.py Request views · models.py Profiles and accounts · utils.py PDF and AI helpers · settings.py Application database
Components 16
Web entry and UI
- URL routes
blog/urls.py - Request views
blog/views.py - Website pages
blog/templates
Accounts and profiles
- Account and contact forms
blog/forms.py - Profiles and accounts
blog/models.py - Profile creation signal
blog/signals.py - App initialization
blog/apps.py
Academic content
- Notes, papers, resources
blog/models.py - Blog and contact records
blog/models.py
AI study tools
- Paper analysis
blog/views.py - AI chatbot
blog/views.py - PDF and AI helpers
blog/utils.py
Persistence and services
- Application database
blogs/settings.py - Cloudinary storage
- Gemini API
Other components
- Student
Connections 19
- Student → URL routes: requests pages
blog/urls.py - URL routes → Request views: dispatches to
blog/urls.py - Request views → Website pages: renders
blog/views.py - Request views → Account and contact forms: validates with
blog/views.py - Request views → Notes, papers, resources: queries
blog/views.py - Request views → Blog and contact records: queries and saves
blog/views.py - Request views → Profiles and accounts: loads and updates
blog/views.py - Request views → Paper analysis: handles analysis
blog/urls.py - Request views → AI chatbot: handles chat
blog/urls.py - Paper analysis → PDF and AI helpers: extracts and asks
blog/views.py - AI chatbot → PDF and AI helpers: asks
blog/views.py - PDF and AI helpers → Gemini API: generates content
blog/utils.py - App initialization → Profile creation signal: loads
blog/apps.py - Profile creation signal → Profiles and accounts: creates profile
blog/signals.py - Notes, papers, resources → Application database: persists records
- Profiles and accounts → Application database: persists accounts
- Blog and contact records → Application database: persists records
- Notes, papers, resources → Cloudinary storage: stores files
- Profiles and accounts → Cloudinary storage: stores images