How tanvirahamedfoysal/academicportal works
This is an academic/research portal with a public-facing site and role-based workspaces for administrators, moderators, and students. A central workflow is signing in, entering the appropriate workspace, and managing or browsing shared research resources; the sampled repository code confirms document listing, upload, and deletion through the API, database, and Cloudinary. The tree also shows article, profile, collaborator, student, portfolio, and contact capabilities. Their source is represented, but wiring beyond the sampled authentication and repository flows is left unspecified.
Main entry points: repository.py Repository API · auth Auth proxy routes · auth.py Authentication API · main.py API application
Components 24
Web portal
- Public site
Frontend/src/app/page.tsx - Sign in and register
Frontend/src/app/auth - Role workspaces
Frontend/src/app/admin - Article browsing
Frontend/src/app/articles - Repository manager
Frontend/src/components/dashboard/RepositoryManager.tsx
Identity
- Auth proxy routes
Frontend/src/app/api/auth - Auth service
Frontend/src/services/auth.service.ts - Auth state
Frontend/src/store/auth.store.ts - Authentication API
Backend/app/api/v1/auth.py
Research content
- Article API
Backend/app/api/v1/articles.py - Repository query hook
Frontend/src/hooks/useRepository.ts - Repository API
Backend/app/api/v1/repository.py - Asset records
Backend/app/db/database.py
People and outreach
- Profiles
Backend/app/api/v1/profile.py - Collaborators
Backend/app/api/v1/collaborators.py - Student directory
Backend/app/api/v1/students.py - Contact messages
Backend/app/api/v1/contact.py - Portfolio and media
Backend/app/api/v1/portfolio.py - Moderator management
Backend/app/api/v1/moderators.py
Backend platform
- API application
Backend/app/main.py - Database session
Backend/app/db/database.py - Access validation
Backend/app/utility/auth/helper.py
Other components
- Portal user
- Cloudinary
Connections 16
- Portal user → Public site: browses
- Portal user → Sign in and register: signs in
- Portal user → Role workspaces: uses workspace
- Portal user → Repository manager: browses or manages
- Sign in and register → Auth proxy routes: submits credentials
- Auth proxy routes → Authentication API: forwards request
- Authentication API → Auth state: returns identity
- Auth service → Auth proxy routes: posts login
- Repository manager → Repository API: loads, uploads, deletes
- Repository query hook → Repository API: requests documents
- Repository API → Access validation: validates access
- Repository API → Database session: queries and updates
- Repository API → Cloudinary: uploads or removes assets
- Repository API → Asset records: tracks asset records
- API application → Authentication API: serves API routes
- API application → Repository API: serves API routes