How nagarajumudhiraj/soa-2420030614 works
This is a university library platform combining student and administrator portals, catalog and circulation management, research discovery, and AI study tools. The principal user flow is sign-in, browse or search holdings, then borrow or reserve books; separate branches support syllabus planning and research-paper review. The README documents a React–Java–Python deployment, while the tree also contains a Node/SQLite gateway with overlapping API services. Both are shown as repository subsystems; excerpts do not establish whether they run together or are alternatives.
Main entry points: LibraryApplication.java Spring API · App.tsx React portal · services Node API services · PapersController.java Paper endpoints
Components 24
Web experience
- React portal
frontend/src/App.tsx - Authentication state
frontend/src/context/AuthContext.tsx - Library state
frontend/src/context/LibraryContext.tsx - Catalog and book reader
frontend/src/pages/student/SmartBookSearch.tsx - Borrowing and kiosk
frontend/src/components/SelfCheckoutKioskModal.tsx - Syllabus planner
frontend/src/pages/student/SyllabusMatcher.tsx - Research portal
frontend/src/pages/shared/ResearchPapers.tsx - Admin reports
frontend/src/pages/admin/Reports.tsx
Library APIs
- Spring API
backend-java/src/main/java/com/library/LibraryApplication.java - Identity endpoints
backend-java/src/main/java/com/library/controller/AuthController.java - Catalog endpoints
backend-java/src/main/java/com/library/controller/CatalogController.java - Circulation endpoints
backend-java/src/main/java/com/library/controller/CirculationController.java - Paper endpoints
backend-java/src/main/java/com/library/controller/PapersController.java - Operations endpoints
backend-java/src/main/java/com/library/controller/OperationsController.java - AI proxy
backend-java/src/main/java/com/library/gateway/AiProxyController.java - Node API gateway
server.ts - Node API services
server/services
AI and research
- Flask AI service
ai-python/app.py - Syllabus matching engine
ai-python/syllabus_engine.py - Gemini integration
ai-python/gemini_service.py - arXiv search
Data stores
- Java library repository
backend-java/src/main/java/com/library/repository/LibraryRepository.java - Node SQLite database
server/db.ts
Other components
- Student or admin
Connections 29
- Student or admin → React portal: uses
README.md - React portal → Authentication state: provides auth
frontend/src/App.tsx - React portal → Catalog and book reader: routes to
frontend/src/App.tsx - React portal → Syllabus planner: routes to
frontend/src/App.tsx - React portal → Research portal: routes to
frontend/src/App.tsx - Catalog and book reader → Library state: reads state
frontend/src/pages/student/SmartBookSearch.tsx - Syllabus planner → Library state: reads state
frontend/src/pages/student/SyllabusMatcher.tsx - Research portal → Spring API: requests API
README.md - Authentication state → Spring API: calls auth API
frontend/src/context/AuthContext.tsx - Library state → Circulation endpoints: calls transactions API
frontend/src/context/LibraryContext.tsx - React portal → Spring API: HTTP API
README.md - Spring API → Identity endpoints: routes requests
README.md - Spring API → Catalog endpoints: routes requests
README.md - Spring API → Circulation endpoints: routes requests
README.md - Spring API → Paper endpoints: routes requests
README.md - Spring API → Operations endpoints: routes requests
README.md - Spring API → AI proxy: routes requests
README.md - Identity endpoints → Java library repository: reads and writes
backend-java/src/main/java/com/library/controller/AuthController.java - Circulation endpoints → Java library repository: records lending
backend-java/src/main/java/com/library/controller/CirculationController.java - Paper endpoints → Java library repository: reads and writes
backend-java/src/main/java/com/library/controller/PapersController.java - Paper endpoints → arXiv search: searches live
README.md - AI proxy → Flask AI service: proxies HTTP
README.md - Flask AI service → Syllabus matching engine: handles matching
ai-python/app.py - Syllabus matching engine → Gemini integration: uses when available
ai-python/syllabus_engine.py - Gemini integration → Student or admin: queries model API
ai-python/gemini_service.py - Node API gateway → Node API services: mounts services
server.ts - Node API services → Node SQLite database: accesses data
server/services/auth/auth.routes.ts - Node API services → Node SQLite database: accesses catalog
server/services/catalog/catalog.routes.ts - Node API services → Node SQLite database: accesses papers
server/services/papers/papers.routes.ts