How nganpasa443-oss/notes-app-project works
This repository is a notes app with an Expo client and an Express/MySQL backend. Users can register or sign in, manage notes and account details, and administrators can manage users; password recovery is also implemented server-side. The client’s main routing and note-fetch/update/delete behavior are visible in app/App.js. Backend routes show the corresponding database operations and email/image integrations. Other screen-to-API wiring is not established by the sampled client source, so those connections are omitted.
Main entry points: App.js App router · server.js Express API · AccountScreen.js Account profile · LoginScreen.js Sign in
Components 16
Mobile app
- App router
app/App.js
Accounts
- Sign in
app/screens/LoginScreen.js - Registration
app/screens/RegisterScreen.js - Password recovery
app/screens/ForgotPasswordScreen.js - Account profile
app/screens/AccountScreen.js - User administration
app/screens/AdminScreen.js - PDF and sharing
app/screens/AccountScreen.js
Notes
- Notes home
app/screens/HomeScreen.js - Create note
app/screens/CreateNoteScreen.js - Edit note
app/screens/EditNoteScreen.js
Backend services
- API endpoint config
config/api.js - Express API
backend/server.js - MySQL database
backend/schema.sql
Other components
- App user
- Gmail SMTP
- Cloudinary
Connections 18
- App user → App router: uses
- App router → Sign in: renders
- App router → Registration: renders
- App router → Password recovery: renders
- App router → Account profile: renders
- App router → User administration: renders
- App router → Notes home: renders
- App router → Create note: renders
- App router → Edit note: renders
- App router → API endpoint config: reads URL
- App router → Express API: fetches notes
- App router → Express API: updates notes
- App router → Express API: deletes notes
- Express API → MySQL database: queries
- Express API → Gmail SMTP: sends mail
- Express API → Cloudinary: uploads profile image
- Account profile → PDF and sharing: generates PDF
- PDF and sharing → App user: shares or prints