How khoipm23/jcap works
JCAP is a Japanese conversation-learning web platform. A learner enters through the web app, uses learning and practice features, and receives progress or assessment results; the tree shows distinct placement, roleplay, shadowing, learning-content, exploration, and account/credit areas. Backend controllers expose these areas, services implement domain behavior, and EF Core persists shared learner and content state. The excerpts show shadowing orchestration and review data flow; other feature links are limited where source evidence was not supplied.
Main entry points: ShadowingSessionReviewService.cs Session AI review · ShadowingController.cs Shadowing API · AppDbContext.cs Application database · App.tsx Learner experience
Components 19
Learner web app
- Learner experience
jcap-web/src/App.tsx - Web API clients
jcap-web/src/services
HTTP API
- Placement API
Controllers/PlacementTestController.cs - Roleplay API
Controllers/RoleplayController.cs - Shadowing API
Controllers/ShadowingController.cs - Learning APIs
Controllers/LearnerLearningController.cs - Explore API
Controllers/ExploreController.cs
Learning services
- Learning content
Services/Implementations/LearnerLearningService.cs - Japan exploration
Services/Implementations/ExploreService.cs
Practice and assessment
- Placement assessment
Services/Implementations/PlacementAssessmentEngine.cs - AI roleplay sessions
Services/Implementations/RoleplaySessionService.cs - Shadowing practice
Services/Implementations/ShadowingService.cs - Session AI review
Services/Implementations/ShadowingSessionReviewService.cs - Session insights
Services/Implementations/ShadowingSessionInsightsService.cs
Accounts and persistence
- Identity and credits
Controllers/AuthController.cs - Credit management
Services/Implementations/CreditService.cs - Application database
Data/AppDbContext.cs - AI client
Services/Interfaces/IAiClient.cs
Other components
- Learner
Connections 14
- Learner → Learner experience: uses
README.md - Learner experience → Web API clients: requests data
- Shadowing API → Shadowing practice: delegates practice
Controllers/ShadowingController.cs - Shadowing API → Session insights: builds summaries
Controllers/ShadowingController.cs - Shadowing API → Session AI review: requests review
Controllers/ShadowingController.cs - Session AI review → Application database: reads session data
Services/Implementations/ShadowingSessionReviewService.cs - Session AI review → Session insights: builds summary
Services/Implementations/ShadowingSessionReviewService.cs - Session AI review → AI client: generates review
Services/Implementations/ShadowingSessionReviewService.cs - Placement API → Placement assessment: runs assessment
- Roleplay API → AI roleplay sessions: runs sessions
- Learning APIs → Learning content: serves learning
- Explore API → Japan exploration: serves exploration
- Identity and credits → Application database: persists identity
- Credit management → Application database: stores transactions