How ashrafyawar/book-worm-web-application works
Book Worm is a Django book-recommendation web app. A visitor can browse random picks, submit genre preferences for recommendations, or search by genre; Django routes requests to view functions, which use the book dataset and render results. The sampled views also call genre conversion and a KNN module referenced by the source index, but that module is absent from the supplied tree, so it is not represented separately. Firebase supplies book records. The graph reflects the sampled routes and source; templates and the full project-level URL wiring were not provided.
Main entry points: views.py Views · readFromFirebase.py Firebase reader · urls.py App routes · models.py Book records
Components 7
Web request handling
- App routes
pages_app/urls.py - Views
pages_app/views.py
Recommendation logic
- Genre conversion
pages_app/convert_gen.py
Book catalog
- Book records
pages_app/models.py - Firebase reader
pages_app/readFromFirebase.py
Other components
- Visitor
- Firebase database
Connections 7
- Visitor → App routes: requests pages
- App routes → Views: routes requests
pages_app/urls.py - Views → Firebase reader: loads catalog
pages_app/views.py - Views → Genre conversion: converts genres
pages_app/views.py - Views → Book records: creates records
pages_app/views.py - Firebase reader → Firebase database: fetches records
pages_app/readFromFirebase.py - Firebase reader → Book records: builds records
pages_app/readFromFirebase.py