How chiefzz7/atipic-touch works
AtipicTouch is an IoT-and-cloud system for tracking food selectivity in nonverbal children. Its documented workflow is device data collection, offline mobile synchronization, cloud recording, and therapist review; the available mobile entry point is only a placeholder, and no hardware source is present in this tree. The backend exposes user, child, food-catalog, and feeding-log APIs; the web tree includes therapist dashboard, patient, report, and settings screens. Web-to-API and device-to-mobile connections are documented capabilities, not demonstrated in the sampled implementation.
Main entry points: main.py API Application · dependencies.py User Authentication · database.py Database Session · index.js Settings Screen
Components 30
Cloud API
- API Application
backend/app/main.py - Database Session
backend/app/core/database.py - Domain Models
backend/app/models/domain.py
Identity
- Authentication Routes
backend/app/routes/auth_routes.py - Token Security
backend/app/core/security.py - User Authentication
backend/app/core/dependencies.py - User Routes
backend/app/routes/user_routes.py - User Creation
backend/app/services/user_service.py
Care Records
- Child Profiles
backend/app/routes/child_routes.py - Food Catalog
backend/app/routes/food_routes.py - Feeding Logs
backend/app/routes/log_routes.py
Therapist Dashboard
- Web Entry
web/App.js - Login Screen
web/src/screens/Login/index.js - Registration Screen
web/src/screens/Register/index.js - Patient Selection
web/src/screens/PatientSelection/index.js - Dashboard Screen
web/src/screens/Dashboard/index.js - Dashboard Layout
web/src/components/layout/DashboardLayout.js - Chart Widgets
web/src/components/dashboard/ChartWidgets.js - Logs Table
web/src/components/dashboard/LogsTableWidget.js - Reports Screen
web/src/screens/Reports/index.js - Report Widgets
web/src/components/report/ReportWidgets.js - Settings Screen
web/src/screens/Settings/index.js - Profile Settings
web/src/components/settings/ProfileTab.js - Signature Settings
web/src/components/settings/SignatureTab.js - System Settings
web/src/components/settings/SystemTab.js
Mobile Gateway
- Mobile Placeholder
mobile/App.js - Offline Queue
mobile/src/database/queue.js
Other components
- Caregiver
- Therapist
- IoT Device
Connections 35
- API Application → User Routes: registers route
backend/app/main.py - API Application → Authentication Routes: registers route
backend/app/main.py - API Application → Child Profiles: registers route
backend/app/main.py - API Application → Food Catalog: registers route
backend/app/main.py - API Application → Feeding Logs: registers route
backend/app/main.py - User Routes → User Creation: creates user
backend/app/routes/user_routes.py - User Creation → Token Security: hashes password
backend/app/services/user_service.py - User Routes → Database Session: writes profile
backend/app/routes/user_routes.py - Child Profiles → Database Session: reads and writes
backend/app/routes/child_routes.py - Food Catalog → Database Session: reads and writes
backend/app/routes/food_routes.py - Feeding Logs → Database Session: reads and writes
backend/app/routes/log_routes.py - User Authentication → Database Session: loads user
backend/app/core/dependencies.py - User Authentication → Domain Models: loads user model
backend/app/core/dependencies.py - Feeding Logs → User Authentication: authenticates requests
backend/app/routes/log_routes.py - Child Profiles → User Authentication: authenticates requests
backend/app/routes/child_routes.py - Food Catalog → User Authentication: authenticates requests
backend/app/routes/food_routes.py - Authentication Routes → Token Security: uses token security
backend/app/routes/auth_routes.py - Web Entry → Login Screen: renders login
web/App.js - Web Entry → Registration Screen: renders registration
web/App.js - Dashboard Screen → Dashboard Layout: renders layout
web/src/screens/Dashboard/index.js - Dashboard Screen → Chart Widgets: renders charts
web/src/screens/Dashboard/index.js - Dashboard Screen → Logs Table: renders logs
web/src/screens/Dashboard/index.js - Patient Selection → Dashboard Layout: renders layout
web/src/screens/PatientSelection/index.js - Reports Screen → Dashboard Layout: renders layout
web/src/screens/Reports/index.js - Reports Screen → Report Widgets: renders reports
web/src/screens/Reports/index.js - Settings Screen → Dashboard Layout: renders layout
web/src/screens/Settings/index.js - Settings Screen → Profile Settings: renders tab
web/src/screens/Settings/index.js - Settings Screen → Signature Settings: renders tab
web/src/screens/Settings/index.js - Settings Screen → System Settings: renders tab
web/src/screens/Settings/index.js - IoT Device → Mobile Placeholder: sends sensor data
- Mobile Placeholder → Offline Queue: queues offline data
- Offline Queue → API Application: syncs queued data
- Therapist → Web Entry: uses dashboard
- Caregiver → IoT Device: records feeding
- Web Entry → API Application: requests cloud data