How gabbygab05/gemclinic works
GEM Clinic is a single-instance clinic workspace for appointment scheduling, patient contacts, restricted clinical notes, and account administration. The main workflow is staff signing in through the web or Expo Go app, then using permission-checked server endpoints to view or change clinic records. The Node.js server handles the API and uses encrypted SQLite persistence; the mobile app also keeps its session token in platform secure storage. The server is shown as a monolith because the available source excerpts do not establish separate internal modules; unsampled capabilities are retained where the README documents them.
Main entry points: server.js HTTP API · App.js Mobile workspace · app.js Web workspace
Components 16
Clinic clients
- Web workspace
public/app.js - Mobile workspace
mobile/App.js - Secure session store
mobile/App.js
Clinic server
- HTTP API
server.js - Sign-in and sessions
server.js - Permission checks
server.js - Encrypted SQLite persistence
server.js
Clinic records
- Clinic dashboard
server.js - Appointment scheduling
server.js - Patient contacts
server.js - Clinical notes
server.js
Administration
- Audit events
server.js - Account administration
server.js - Security settings
server.js - Encrypted backups
server.js
Other components
- Clinic staff
Connections 22
- Clinic staff → Web workspace: uses
README.md - Clinic staff → Mobile workspace: uses
README.md - Web workspace → HTTP API: requests endpoints
public/app.js - Mobile workspace → HTTP API: connects to
README.md - Mobile workspace → Secure session store: stores session
README.md - HTTP API → Sign-in and sessions: handles sign-in
server.js - HTTP API → Permission checks: checks permissions
README.md - HTTP API → Clinic dashboard: serves dashboard
server.js - HTTP API → Appointment scheduling: serves scheduling
server.js - HTTP API → Patient contacts: serves contacts
server.js - HTTP API → Clinical notes: saves notes
server.js - HTTP API → Account administration: manages accounts
README.md - HTTP API → Security settings: reviews security
README.md - HTTP API → Encrypted backups: manages backups
README.md - HTTP API → Audit events: records actions
server.js - Clinic dashboard → Encrypted SQLite persistence: reads records
server.js - Appointment scheduling → Encrypted SQLite persistence: reads and writes
server.js - Patient contacts → Encrypted SQLite persistence: reads and writes
server.js - Clinical notes → Encrypted SQLite persistence: stores encrypted notes
README.md - Account administration → Encrypted SQLite persistence: stores accounts
server.js - Audit events → Encrypted SQLite persistence: stores events
README.md - Encrypted backups → Encrypted SQLite persistence: backs up data
README.md