How ahmed-arafat10/journaling-website works
Journaling Project is a PHP/MySQL web app for account-based daily journaling. Users sign up or log in, then add tasks, diary entries, and answers to predefined questions; they can review and manage today's entries or search past dates. The map preserves the separate authentication, daily-entry, question-management, history, and editing responsibilities. Source excerpts establish most calls and database operations; the SQL schema and some page behavior are unsampled, so their links are omitted where not directly evidenced.
Main entry points: ConfigDB.php Authentication and date helpers · Login.php Login · TodayList.php Today's entries · History.php Date search and history
Components 11
Accounts
- Sign up
SignUp.php - Login
Login.php - Home and session
index.php
Daily Journaling
- Add daily entries
AddData.php - Today's entries
TodayList.php - Add questions
AddQuestions.php
History
- Date search and history
History.php - Edit entries
EditData.php
Shared Services
- Authentication and date helpers
ConfigDB.php - MySQL database
Other components
- Visitor
Connections 25
- Visitor → Sign up: registers
README.md - Visitor → Login: signs in
README.md - Sign up → Authentication and date helpers: connects via
SignUp.php - Login → Authentication and date helpers: checks login
Login.php - Login → Home and session: redirects to
Login.php - Home and session → Authentication and date helpers: authenticates
index.php - Visitor → Add daily entries: adds entries
README.md - Add daily entries → Authentication and date helpers: gets date ID
AddData.php - Visitor → Today's entries: reviews today
README.md - Today's entries → Authentication and date helpers: authenticates
TodayList.php - Visitor → Add questions: adds questions
README.md - Add questions → Authentication and date helpers: authenticates
AddQuestions.php - Visitor → Date search and history: searches dates
README.md - Date search and history → Authentication and date helpers: authenticates
History.php - Date search and history → Edit entries: links edits
History.php - Today's entries → Edit entries: links edits
TodayList.php - Edit entries → Authentication and date helpers: authenticates
EditData.php - Authentication and date helpers → MySQL database: connects
ConfigDB.php - Sign up → MySQL database: writes account
SignUp.php - Login → MySQL database: queries account
Login.php - Add daily entries → MySQL database: writes entries
AddData.php - Today's entries → MySQL database: reads and updates
TodayList.php - Add questions → MySQL database: writes questions
AddQuestions.php - Date search and history → MySQL database: searches entries
History.php - Edit entries → MySQL database: reads and updates
EditData.php