How codebyartem/english-front works
This is a browser-facing English-learning application: users register or sign in, browse textbook lessons, complete interactive exercises and submit answers; students can submit assignments, while tutors review and grade submissions. The route pages own these workflows and use a shared Axios client to communicate with an external backend. The map includes the principal lesson, assignment, and tutor-review stages; several route implementations are unsampled, so their internal behavior and links are omitted where not evidenced.
Main entry points: api.ts HTTP client · [id]/page.tsx Lesson page · dashboard/page.tsx Learning dashboard · assignments/page.tsx Assignment list
Components 15
Accounts and navigation
- Home and catalog
src/app/page.tsx - Registration
src/app/register/page.tsx - Sign in
src/app/login/page.tsx - Learning dashboard
src/app/dashboard/page.tsx
Learning content
- Lesson page
src/app/lessons/[id]/page.tsx - Interactive exercises
src/components/LessonContent.tsx - Lesson audio
public/audio
Assignments and review
- Assignment list
src/app/assignments/page.tsx - Assignment submission
src/app/assignments/[id]/page.tsx - Assignment grading
src/app/assignments/grading/page.tsx - Tutor dashboard
src/app/teacher/dashboard/page.tsx - Lesson review
src/app/submissions/[id]/page.tsx
API access
- HTTP client
src/lib/api.ts
Other components
- Learner or tutor
- Application backend
Connections 26
- Learner or tutor → Home and catalog: visits
src/app/page.tsx - Home and catalog → HTTP client: requests
src/app/page.tsx - Learner or tutor → Registration: signs up
src/app/register/page.tsx - Registration → HTTP client: registers
src/app/register/page.tsx - Learner or tutor → Sign in: signs in
src/app/login/page.tsx - Sign in → HTTP client: authenticates
src/app/login/page.tsx - Learner or tutor → Learning dashboard: opens
src/app/dashboard/page.tsx - Learning dashboard → HTTP client: loads profile
src/app/dashboard/page.tsx - Learning dashboard → Lesson page: opens lesson
src/app/dashboard/page.tsx - Learner or tutor → Lesson page: studies
src/app/lessons/[id]/page.tsx - Lesson page → HTTP client: loads and submits
src/app/lessons/[id]/page.tsx - Lesson page → Interactive exercises: renders
src/app/lessons/[id]/page.tsx - Lesson page → Lesson audio: plays
src/app/lessons/[id]/page.tsx - Learner or tutor → Assignment list: views
src/app/assignments/page.tsx - Assignment list → HTTP client: loads assignments
src/app/assignments/page.tsx - Assignment list → Assignment submission: opens assignment
src/app/assignments/page.tsx - Learner or tutor → Assignment submission: submits work
src/app/assignments/[id]/page.tsx - Assignment submission → HTTP client: loads and submits
src/app/assignments/[id]/page.tsx - Learner or tutor → Tutor dashboard: opens tutor area
- Tutor dashboard → HTTP client: requests data
src/app/teacher/dashboard/page.tsx - Learner or tutor → Assignment grading: grades work
src/app/assignments/grading/page.tsx - Assignment grading → HTTP client: loads and grades
src/app/assignments/grading/page.tsx - Learner or tutor → Lesson review: reviews lesson
src/app/submissions/[id]/page.tsx - Lesson review → HTTP client: loads and saves review
src/app/submissions/[id]/page.tsx - HTTP client → Application backend: HTTP requests
src/lib/api.ts - Application backend → HTTP client: HTTP responses
src/lib/api.ts