How yashbajpai888/onssdb works
The repository’s documented product is an Online Notes Sharing System: visitors browse shared notes or register, then signed-in users manage notes and account details. Its PHP pages use PDO connections to MySQL and store note attachments in user folders. A separate 3DES application is also present, but its detailed runtime wiring is not established by the available excerpts; its links are therefore omitted. The graph covers the documented notes and account capabilities; unsampled page internals are not inferred.
Main entry points: dbconnection.php User DB config · notes.php Browse notes · add-notes.php Add notes · edit-notes.php Edit notes
Components 20
Public notes site
- Landing page
onss/index.php - Public navigation
onss/includes/header.php - Browse notes
onss/notes.php
Accounts and access
- Sign up
onss/user/signup.php - Sign in
onss/user/signin.php - User profile
onss/user/profile.php
Notes workspace
- User dashboard
onss/user/dashboard.php - Add notes
onss/user/add-notes.php - Manage notes
onss/user/manage-notes.php - Edit notes
onss/user/edit-notes.php - Note attachments
onss/user
Persistence
- Public DB config
onss/includes/dbconnection.php - User DB config
onss/user/includes/dbconnection.php - MySQL database
- ONSS schema
SQL Files/onssdb.sql
3DES utility
- 3DES web app
3DES/app.py - Crypto utilities
3DES/crypto_utils.py - Scheduler
3DES/scheduler.py
Other components
- Visitor
- Registered user
Connections 21
- Visitor → Landing page: visits
onss/index.php - Landing page → Public navigation: includes
onss/index.php - Public navigation → Browse notes: links to
onss/includes/header.php - Visitor → Browse notes: browses
- Browse notes → User DB config: queries notes
onss/notes.php - Public DB config → MySQL database: connects
onss/includes/dbconnection.php - User DB config → MySQL database: connects
onss/user/includes/dbconnection.php - ONSS schema → MySQL database: defines schema
Readme.txt - Visitor → Sign up: registers
- Visitor → Sign in: logs in
- Registered user → User dashboard: opens
- Sign up → User DB config: uses connection
onss/user/signup.php - Sign in → User DB config: uses connection
onss/user/signin.php - User profile → User DB config: reads and updates
onss/user/profile.php - User dashboard → User DB config: uses connection
onss/user/dashboard.php - Add notes → User DB config: inserts notes
onss/user/add-notes.php - Add notes → Note attachments: uploads files
onss/user/add-notes.php - Manage notes → User DB config: uses connection
onss/user/manage-notes.php - Edit notes → User DB config: reads and updates
onss/user/edit-notes.php - Edit notes → Note attachments: links files
onss/user/edit-notes.php - 3DES web app → Crypto utilities: delegates crypto