How angelvilla16/control-plus works
Control + is a cross-platform mobile app for tracking glucose and blood pressure. Users sign in or register, complete their profile when needed, then use the dashboard to record measurements and review recent readings; profile and history screens provide related account and measurement views. The README describes secure local persistence and an external API backend. Sampled source confirms several screen-to-service calls; links for unsampled screens and services are limited to the source index or README, so uncertain details are omitted.
Main entry points: api.ts API base URL · index.tsx Sign in · updateperfil.ts Profile update · glucosa.ts Glucose service
Components 20
Account setup
- Sign in
src/app/index.tsx - Registration
src/app/Signin.tsx - Complete profile
src/app/CompletarPerfil.tsx - Profile view
src/app/(tabs)/perfil.tsx
Health measurements
- Health dashboard
src/app/(tabs)/home.tsx - Glucose entry
src/app/RegistrarGlucosa.tsx - Blood pressure entry
src/app/RegistrarPresion.tsx - Measurement history
src/app/(tabs)/historial.tsx
API services
- Login service
src/services/login.ts - Registration service
src/services/registro.ts - Profile lookup
src/services/getperfil.ts - Profile update
src/services/updateperfil.ts - Glucose service
src/services/glucosa.ts - Pressure service
src/services/presion.ts - API base URL
src/services/api.ts
App navigation
- Root navigation
src/app/_layout.tsx - Tab navigation
src/app/(tabs)/_layout.tsx
Other components
- User
- External API
- Secure local storage
Connections 30
- User → Sign in: enters credentials
README.md - Sign in → Login service: authenticates
src/app/index.tsx - Sign in → Secure local storage: stores session
src/app/index.tsx - Sign in → Complete profile: routes when incomplete
src/app/index.tsx - Sign in → Health dashboard: routes when complete
src/app/index.tsx - User → Registration: registers
README.md - Registration → Registration service: submits registration
src/app/Signin.tsx - Complete profile → Profile update: updates details
src/app/CompletarPerfil.tsx - Profile view → Profile lookup: loads profile
src/app/(tabs)/perfil.tsx - Profile view → Profile update: saves changes
src/app/(tabs)/perfil.tsx - Health dashboard → Glucose service: loads recent glucose
src/app/(tabs)/home.tsx - Health dashboard → Pressure service: loads recent pressure
src/app/(tabs)/home.tsx - User → Glucose entry: records glucose
README.md - Glucose entry → Glucose service: submits reading
src/app/RegistrarGlucosa.tsx - User → Blood pressure entry: records pressure
README.md - Blood pressure entry → Pressure service: submits reading
src/app/RegistrarPresion.tsx - Measurement history → User: shows history view
README.md - Login service → API base URL: uses base URL
src/services/login.ts - Registration service → API base URL: uses base URL
src/services/registro.ts - Profile lookup → API base URL: uses base URL
src/services/getperfil.ts - Profile update → API base URL: uses base URL
src/services/updateperfil.ts - Glucose service → API base URL: uses base URL
src/services/glucosa.ts - Pressure service → API base URL: uses base URL
src/services/presion.ts - Login service → External API: sends auth request
README.md - Registration service → External API: sends registration
README.md - Profile lookup → External API: requests profile
README.md - Profile update → External API: updates profile
README.md - Glucose service → External API: sends glucose requests
src/services/glucosa.ts - Pressure service → External API: sends pressure requests
src/services/presion.ts - Root navigation → Tab navigation: hosts tab routes
README.md