How zisanulhaque/shimana-periye-backend works
ShimanaPeriye is a backend for student research-opportunity discovery and graduate-application support, with mentor and administrator workflows. A student’s main path is to maintain a profile and academic record, find and shortlist opportunities, then manage an application and its tasks and documents; mentors provide assignment, scheduling, and feedback capabilities. The graph emphasizes documented service calls and the sampled application flow. Many feature services and route registrations were not excerpted, so uncertain cross-feature links are omitted; the README was empty.
Main entry points: prisma.ts PostgreSQL data access · application.service.ts Applications · app.ts HTTP API · server.ts Server startup
Components 22
API and identity
- HTTP API
src/app.ts - Authentication
src/app/module/auth/auth.service.ts
Student discovery
- Student profile
src/app/module/student-profile - Academic records
src/app/module/academic-record/academic-record.service.ts - Opportunity matching
src/app/module/matching/matching.service.ts - Opportunities
src/app/module/opportunity/opportunity.service.ts - Shortlist
src/app/module/shortlist/shortlist.service.ts - Readiness assessment
src/app/module/readiness
Application management
- Applications
src/app/module/application/application.service.ts - Application tasks
src/app/module/application-task/application-task.service.ts - Documents
src/app/module/document/document.service.ts - Cost estimates
src/app/module/cost-estimate
Mentor support
- Mentor profiles
src/app/module/mentor-profile/mentor-profile.service.ts - Mentor assignment
src/app/module/mentor-assignment - Mentor scheduling
src/app/module/mentor-schedule/mentor-schedule.service.ts - Mentor feedback
src/app/module/mentor-feedback
Runtime and data
- PostgreSQL data access
src/app/lib/prisma.ts - Redis cache
src/app/lib/redis.ts - Email delivery
src/app/lib/nodemailer.ts - Reminder jobs
src/app/lib/corn.ts - Server startup
src/server.ts
Other components
- Student / user
Connections 31
- Student / user → HTTP API: uses
- HTTP API → Authentication: routes requests
src/app.ts - HTTP API → Student profile: routes requests
- HTTP API → Opportunities: routes requests
- HTTP API → Applications: routes requests
- HTTP API → Mentor profiles: routes requests
- Authentication → PostgreSQL data access: reads and writes
src/app/module/auth/auth.service.ts - Authentication → Redis cache: stores OTPs
src/app/module/auth/auth.service.ts - Academic records → Opportunity matching: invokes
src/app/module/academic-record/academic-record.service.ts - Academic records → PostgreSQL data access: reads and writes
src/app/module/academic-record/academic-record.service.ts - Opportunity matching → PostgreSQL data access: reads and writes
- Opportunities → PostgreSQL data access: reads and writes
- Shortlist → PostgreSQL data access: reads and writes
- Applications → Shortlist: checks shortlist
src/app/module/application/application.service.ts - Applications → PostgreSQL data access: reads and writes
src/app/module/application/application.service.ts - Applications → Documents: loads document data
src/app/module/application/application.service.ts - Applications → Application tasks: creates task records
src/app/module/application/application.service.ts - Applications → Cost estimates: loads estimate data
src/app/module/application/application.service.ts - Applications → Student profile: gets student profile
src/app/module/application/application.service.ts - Applications → PostgreSQL data access: creates reminders
src/app/module/application/application.service.ts - Mentor profiles → PostgreSQL data access: reads and writes
- Mentor scheduling → Email delivery: sends notifications
src/app/module/mentor-schedule/mentor-schedule.service.ts - Mentor scheduling → PostgreSQL data access: reads and writes
src/app/module/mentor-schedule/mentor-schedule.service.ts - Mentor assignment → PostgreSQL data access: reads and writes
- Mentor feedback → PostgreSQL data access: reads and writes
- Server startup → HTTP API: starts
src/server.ts - Server startup → Reminder jobs: starts jobs
src/server.ts - Server startup → PostgreSQL data access: connects
src/server.ts - Server startup → Redis cache: connects
src/server.ts - Reminder jobs → PostgreSQL data access: queries data
src/app/lib/corn.ts - Reminder jobs → Email delivery: sends reminders
src/app/lib/corn.ts