How c-bhaskar123/smart_library_project works
This is a small browser-based library prototype with a hard-coded login, a book-catalog search, and browser-local session details. The principal flow is login submission, credential checking, local storage, then navigation to the catalog; catalog code supports searching books and logging out. Source excerpts show the behavior, but not how the HTML pages load their scripts or define their elements, so those wiring relationships are omitted.
Main entry points: login.js Credential check · script.js Search and logout · login.html Login page · index.html Catalog page
Components 6
Login
- Login page
Smart_Library_Login_Prototype/login.html - Credential check
Smart_Library_Login_Prototype/login.js
Library Catalog
- Catalog page
Smart_Library_Login_Prototype/index.html - Search and logout
Smart_Library_Login_Prototype/script.js
Browser State
- Local storage
Other components
- Library visitor
Connections 6
- Library visitor → Credential check: submits credentials
Smart_Library_Login_Prototype/login.js - Credential check → Local storage: stores login
Smart_Library_Login_Prototype/login.js - Credential check → Catalog page: redirects after login
Smart_Library_Login_Prototype/login.js - Library visitor → Search and logout: searches or logs out
Smart_Library_Login_Prototype/script.js - Search and logout → Local storage: reads and clears session
Smart_Library_Login_Prototype/script.js - Search and logout → Login page: redirects on logout
Smart_Library_Login_Prototype/script.js