How brannthichmeo-create/enghabit works
ENGHABIT is a habit-building English-learning app: learners study vocabulary and flashcards, review on a spaced schedule, and track streaks and progress; it also provides groups, community, rewards, and administration. The main user journey runs from the routed learner interface into study and review, with shared rules supporting learning and progress features. The README documents broad capabilities, while source excerpts establish only selected route, component, and service calls; unverified frontend-to-backend links are therefore omitted.
Main entry points: AppRoutes.tsx App routes · api-client.ts HTTP client · GroupsPage.tsx Group pages · DashboardPage.tsx Progress views
Components 17
Learner experience
- App routes
fe/src/routes/AppRoutes.tsx - Study sessions
fe/src/features/study/components/StudySession.tsx - Review page
fe/src/features/study/components/ReviewPage.tsx - HTTP client
fe/src/shared/lib/api-client.ts - Auth state
fe/src/features/auth/auth.store.ts - Group pages
fe/src/features/groups/components/GroupsPage.tsx - Progress views
fe/src/features/statistics/components/DashboardPage.tsx
Application services
- Study service
be/src/modules/study/study.service.ts - Group service
be/src/modules/groups/group.service.ts - Auth service
be/src/modules/auth/auth.service.ts
Shared domain logic
- Spaced repetition
shared/src/srs/sm2.ts - Streak rules
shared/src/streak/streak.ts - Report logic
shared/src/report/report.ts - Habit schedules
shared/src/habit/habit-schedule.ts
Notifications and admin
- Notification service
be/src/modules/notifications/notification.service.ts - Admin routes
be/src/modules/admin/admin.routes.ts
Other components
- Learner
Connections 15
- Learner → App routes: uses
fe/src/routes/AppRoutes.tsx - App routes → Review page: routes to
fe/src/routes/AppRoutes.tsx - App routes → Progress views: routes to
fe/src/routes/AppRoutes.tsx - App routes → Group pages: routes to
fe/src/routes/AppRoutes.tsx - Review page → Study sessions: renders
fe/src/features/study/components/ReviewPage.tsx - HTTP client → Auth state: refreshes through
fe/src/shared/lib/api-client.ts - Study sessions → HTTP client: requests via
fe/src/features/study/components/StudySession.tsx - Group pages → HTTP client: requests via
- Study service → Spaced repetition: uses
- Group service → Group pages: serves
- Auth service → Notification service: may notify
- Notification service → Admin routes: audited by
be/src/modules/notifications/notification.service.ts - Study service → Streak rules: updates
- Progress views → Report logic: presents progress
- Habit schedules → Progress views: supports tracking