How ritheshkumar5/bookloop works
BookLoop is a student-to-student book resale marketplace. Students register or log in, browse approved listings, contact sellers, and request orders; sellers manage listings and order status, while administrators moderate listings and manage accounts. The graph includes the documented user, catalog, order, chat, and admin capabilities. Internal wiring is shown only where excerpts, the source index, or README support it; several feature-page and backend modules were not sampled.
Main entry points: App.jsx Page routing · api.js API client · services.py Order transitions · models.py Order records
Components 20
Web application
- Page routing
frontend/src/App.jsx - Sign in and register
frontend/src/pages/AuthPage.jsx - API client
frontend/src/services/api.js - Catalog and listings
frontend/src/pages/HomePage.jsx - Orders page
frontend/src/pages/MyOrdersPage.jsx - Messaging page
frontend/src/pages/ChatPage.jsx
Accounts and access
- Session state
frontend/src/context/AuthContext.js - User accounts API
backend/users/views.py - User records
backend/users/models.py
Marketplace transactions
- Books API
backend/books - Book listings
backend/books/models.py - Orders API
backend/orders/views.py - Order transitions
backend/orders/services.py - Order records
backend/orders/models.py - Chats API
backend/chats - Chat records
backend/chats/models.py
Administration
- Admin dashboard
frontend/src/pages/AdminDashboardPage.jsx - Admin API
backend/core
Other components
- Student
- Administrator
Connections 22
- Student → Page routing: uses
README.md - Administrator → Page routing: uses
README.md - Page routing → Sign in and register: routes to
frontend/src/App.jsx - Page routing → Catalog and listings: routes to
frontend/src/App.jsx - Page routing → Orders page: routes to
frontend/src/App.jsx - Page routing → Messaging page: routes to
frontend/src/App.jsx - Page routing → Admin dashboard: routes to
frontend/src/App.jsx - Sign in and register → Session state: calls
frontend/src/pages/AuthPage.jsx - Session state → API client: calls
frontend/src/context/AuthContext.js - API client → User accounts API: requests
frontend/src/services/api.js - API client → Books API: requests
frontend/src/services/api.js - API client → Orders API: requests
frontend/src/services/api.js - API client → Chats API: requests
frontend/src/services/api.js - API client → Admin API: requests
frontend/src/services/api.js - User accounts API → User records: uses
backend/users/views.py - Orders API → Order transitions: calls
backend/orders/views.py - Order transitions → Order records: updates
backend/orders/services.py - Order transitions → Book listings: marks sold
backend/orders/services.py - Chat records → Book listings: references
backend/chats/serializers.py - Chat records → User records: references
backend/chats/serializers.py - Order records → Book listings: references
backend/orders/serializers.py - Order records → User records: references
backend/orders/serializers.py