How hansikasenarath/inclusive-kids-project works
InclusiveKids Hub is an accessible learning app with a React client and an Express/PostgreSQL backend. The user workflow begins with onboarding and profile selection, then offers home, learning, AAC communication, and progress views; the client uses a REST API for profiles, content, and progress. Backend routes dispatch to domain controllers, which validate requests and use models backed by PostgreSQL. The README documents the client/API and database boundaries; unsampled screen-to-endpoint details are not inferred.
Main entry points: App.tsx App navigation · index.ts API dispatch · db.ts PostgreSQL access · schemas Request schemas
Components 25
Learning client
- App navigation
frontend/src/App.tsx - Onboarding
frontend/src/screens/Onboarding.tsx - Home
frontend/src/screens/Home.tsx - Learning
frontend/src/screens/Learn.tsx - AAC communication
frontend/src/screens/Communicate.tsx - Progress view
frontend/src/screens/Progress.tsx - Dashboard
frontend/src/screens/Dashboard.tsx - Ability context
frontend/src/context/AbilityContext.tsx - Navigation bar
frontend/src/components/NavBar.tsx - Speech recognition
frontend/src/hooks/useSpeechRecognition.ts - API client
frontend/src/lib/api.ts
REST API
- Express application
backend/src/app.ts - API dispatch
backend/src/routes/index.ts
Domain services
- Profile controller
backend/src/controllers/profile.controller.ts - Content controller
backend/src/controllers/content.controller.ts - Progress controller
backend/src/controllers/progress.controller.ts - AAC board controller
backend/src/controllers/aacBoard.controller.ts - Request schemas
backend/src/schemas
Persistence
- Profile model
backend/src/models/profile.model.ts - Content model
backend/src/models/content.model.ts - Progress model
backend/src/models/progress.model.ts - AAC board model
backend/src/models/aacBoard.model.ts - PostgreSQL access
backend/src/config/db.ts
Other components
- Child or caregiver
- PostgreSQL
Connections 29
- Child or caregiver → App navigation: uses
frontend/src/App.tsx - App navigation → Ability context: provides state
frontend/src/App.tsx - App navigation → Onboarding: shows
frontend/src/App.tsx - App navigation → Home: shows
frontend/src/App.tsx - App navigation → Learning: shows
frontend/src/App.tsx - App navigation → AAC communication: shows
frontend/src/App.tsx - App navigation → Progress view: shows
frontend/src/App.tsx - App navigation → Dashboard: shows
frontend/src/App.tsx - App navigation → Navigation bar: renders
frontend/src/App.tsx - API client → Express application: calls REST API
- Express application → API dispatch: mounts API
backend/src/app.ts - API dispatch → Profile controller: dispatches
backend/src/routes/index.ts - API dispatch → Content controller: dispatches
backend/src/routes/index.ts - API dispatch → Progress controller: dispatches
backend/src/routes/index.ts - API dispatch → AAC board controller: dispatches
backend/src/routes/index.ts - Profile controller → Request schemas: validates with
backend/src/controllers/profile.controller.ts - Content controller → Request schemas: validates with
backend/src/controllers/content.controller.ts - Progress controller → Request schemas: validates with
backend/src/controllers/progress.controller.ts - AAC board controller → Request schemas: validates with
backend/src/controllers/aacBoard.controller.ts - Profile controller → Profile model: calls
backend/src/controllers/profile.controller.ts - Content controller → Content model: calls
backend/src/controllers/content.controller.ts - Progress controller → Progress model: calls
backend/src/controllers/progress.controller.ts - AAC board controller → AAC board model: calls
backend/src/controllers/aacBoard.controller.ts - Profile model → PostgreSQL access: queries
backend/src/models/profile.model.ts - Content model → PostgreSQL access: queries
backend/src/models/content.model.ts - Progress model → PostgreSQL access: queries
backend/src/models/progress.model.ts - AAC board model → PostgreSQL access: queries
backend/src/models/aacBoard.model.ts - PostgreSQL access → PostgreSQL: reads and writes
- AAC communication → Speech recognition: uses recognition