How nganpasa443-oss/nguyen-thi-thuc-ngan-24ct1cnpnm works
Notes App is a cross-platform mobile notes and account-management product backed by a REST API and MySQL. The main workflow runs from a user through app navigation and note screens, to API requests, and backend persistence. The README also documents registration, login, password-reset OTP, admin user management, profile/avatar handling, and PDF export. Some backend and screen implementations were not excerpted, so those links reflect README documentation or are omitted where wiring is unclear.
Main entry points: App.js App navigation · server.js REST API · LoginScreen.js Login · RegisterScreen.js Registration
Components 17
Mobile app
- App navigation
app/App.js - API configuration
config/api.js
Accounts
- Login
app/screens/LoginScreen.js - Registration
app/screens/RegisterScreen.js - Password reset
app/screens/ForgotPasswordScreen.js - Profile and export
app/screens/AccountScreen.js - Admin user management
app/screens/AdminScreen.js - Session state
context/AuthContext.js
Notes
- Notes home
app/screens/HomeScreen.js - Create note
app/screens/CreateNoteScreen.js - Edit note
app/screens/EditNoteScreen.js
Backend services
- REST API
backend/server.js - MySQL database
backend/schema.sql
External services
- Cloudinary avatars
- Gmail SMTP
- PDF printing
Other components
- App user
Connections 23
- App user → App navigation: uses
README.md - App navigation → Login: renders
app/App.js - App navigation → Registration: renders
app/App.js - App navigation → Password reset: renders
app/App.js - App navigation → Notes home: renders
app/App.js - App navigation → Create note: renders
app/App.js - App navigation → Edit note: renders
app/App.js - App navigation → Profile and export: renders
app/App.js - App navigation → Admin user management: renders
app/App.js - App navigation → API configuration: uses URL
app/App.js - Login → REST API: sends credentials
README.md - Registration → REST API: submits account
app/screens/RegisterScreen.js - Password reset → REST API: requests OTP
README.md - Admin user management → REST API: manages users
app/screens/AdminScreen.js - App navigation → REST API: fetches notes
app/App.js - Create note → App navigation: submits note
app/App.js - Edit note → App navigation: submits update
app/App.js - Notes home → App navigation: requests actions
app/App.js - Profile and export → PDF printing: exports PDF
README.md - REST API → MySQL database: reads and writes
README.md - REST API → Cloudinary avatars: stores avatars
README.md - REST API → Gmail SMTP: sends OTP
README.md - App navigation → Session state: session support