NX

NexusCareerPath

Project Status & Analytical Report · v1.0.0

Generated: 2026-05-10 · Asia/Bangkok

AI-powered career development platform for Thai students aged 14–18, featuring multi-role portals, LMS, internship matching, mentor booking, and subscription billing.

React 18 · Tailwind CSS · TanStack Query · React Router v6 · Base44 BaaS · Stripe

33
Pages
28
Entities
6
Functions
7
Roles
18
Components
5
Dashboards

Role Architecture

student / user→ /dashboard → StudentDashboardCareer AI, Portfolio, Courses, Internships, Mentors, LMS, Chat
parent→ /dashboard → ParentDashboardParent Portal, Child progress, Reports, University, Schools
mentor→ /dashboard → MentorDashboardStudents, Sessions (LMS), Messages, Insights, Profile
school_admin→ /dashboard → SchoolAdminDashboardCohort tracking, Analytics, Courses, Mentors, Announcements
employer→ /dashboard → EmployerDashboardTalent Search, Portfolios, Internship Listings, Pipeline
super_admin→ /super-admin directlyFull system: users, tenants, billing, AI, analytics, audit logs
admin→ /dashboardAll student routes + super admin panel

Pages & Routes (33)

✅
Home/

Landing page with features, testimonials, CTA

✅
Plans/plans

Pricing tiers for all user segments

✅
Checkout/checkout

Stripe payment + waitlist fallback

✅
PublicPortfolio/p/:username

Shareable student portfolio link

✅
Search/search

Global search across entities

✅
Unauthorized/unauthorized

Access denied page

✅
ProjectReport/report

PDF portfolio project report

✅
Dashboard/dashboard

Role-aware dashboard hub

✅
CareerAI/career-ai

AI career match assessment & recommendations

✅
CareerChat/career-chat

Persistent AI career advisor chat

✅
CareerSimulation/career-simulation

Day-in-life career simulator

✅
SkillsGap/skills-gap

Portfolio vs target career skill comparison

✅
Portfolio/portfolio

Project management + AI verification

✅
Schools/schools

Filterable school directory

✅
University/university

University discovery + saved list

✅
Courses/courses

Course marketplace with provider filters

✅
Internships/internships

Internship listings + pipeline tracker

✅
Mentors/mentors

Mentor marketplace + booking modal

✅
LMS/lms

Course modules, lessons, assignments

✅
Notifications/notifications

In-app notification center

✅
Billing/billing

Subscription management

✅
StudentProfile/profile/student

Personal info, skills, preferences

✅
ParentProfile/profile/parent

Parent info + linked child accounts

✅
MentorProfile/profile/mentor

Expertise, availability settings

✅
SchoolAdminProfile/profile/school-admin

School configuration

✅
EmployerProfile/profile/employer

Brand page + hiring preferences

✅
ParentPortal/parent

Child progress, reports, communication

✅
SchoolAdmin/school-admin

Cohort tracking, announcements, bulk reports

✅
TalentDashboard/talent

Candidate search, shortlist, pipeline

✅
MentorStudents/mentor/students

Student profiles + goals

✅
MentorMessages/mentor/messages

Threaded student messaging

✅
MentorInsights/mentor/insights

Session analytics + earnings

✅
SuperAdmin/super-admin

System-wide management panel

Database Entities (28)

User

Built-in auth entity — email, role, full_name

StudentProfile

Extended student data: career, skills, portfolio %

CareerMatch

AI-generated career match scores per student

PortfolioProject

Student projects with AI verification status

Course

Course catalog — global + school-specific

LMSProgress

Lesson/module completion tracking per student

AssignmentSubmission

File-based assignment submissions

Internship

Internship listings with company, skills, stipend

ApplicationPipeline

Student internship applications with stage tracking

Mentor

Mentor profiles — skills, pricing, availability

MentorBooking

Session bookings with status, rating, feedback

School

School directory — tenant entity for school plans

Company

Employer tenant entity

Subscription

Active plan subscriptions with Stripe references

Payment

Payment records linked to subscriptions

StripeWebhookEvent

Webhook idempotency log

Waitlist

Pre-launch interest capture

ChatConversation

AI chat sessions per user

ChatMessage

Individual messages in chat conversations

Notification

In-app alerts with type, priority, link

Message

Direct messages between users (threaded)

MessageThread

Thread container for participant messages

SavedUniversity

User-saved university targets (reach/target/safety)

EmployerSavedCandidate

Employer shortlisted student profiles

CareerSimulation

Simulation definitions — scenarios, challenges

SimulationAttempt

Student simulation results and AI assessment

SentReport

Log of all emails sent (reports, announcements)

AITask

Background AI task queue

Backend Functions

createPaymentIntentCreates Stripe PaymentIntent for checkout flowFrontend (Checkout)
confirmStripeSubscriptionConfirms payment and creates Subscription recordFrontend (post-payment)
stripeWebhookHandles Stripe webhook events (subscription updates, payment_intent)Stripe webhook
aiCareerAdvisorServer-side AI: career assessment, portfolio verification, skill gap, parent reports, simulation assessment, career chatFrontend (all AI features)
bulkReportsSchool admin: bulk weekly parent reports + announcements with email delivery (school_admin/admin only)SchoolAdmin / BulkReportPanel
tenantDataTenant-scoped CRUD middleware: enforces school_id / company_id isolation on Course, Mentor, Internship, StudentProfile. 403 on cross-tenant access.All tenant-aware pages

Key Components (18)

◆
Layout

Main shell — role-aware sidebar nav + header

◆
RoleGuard

Route protection — redirects unauthorized users

◆
RoleHomeRedirect

Post-login smart redirect based on user role

◆
NotificationBell

Real-time notification dropdown in header

◆
GlobalSearch

Debounced cross-entity search with role filters

◆
BulkReportPanel

School admin bulk AI report sender

◆
StudentSearchFilter

School admin student search + filter

◆
ChatSidebar / ChatMessage / SuggestedPrompts

AI chat interface components

◆
AIProjectBuilder

AI-assisted portfolio project builder

◆
SkillRoadmapGraph

Visual skill progression graph

◆
InsightCharts / StudentMilestoneChart

School analytics charts (Recharts)

◆
ApplicationPipeline (component)

Kanban-style internship application tracker

◆
CareerPathProgress

Student dashboard career progress widget

◆
AISkillGapAnalysis

AI-powered skill gap recommendation panel

◆
MatchCircle

SVG circular score indicator

◆
StatCard

Reusable metric card with color themes

◆
AccessPoliciesPanel / RolesPanel / UserManagement / TenantManager

Super admin sub-panels

◆
ErrorBoundary

Top-level React error catcher

Download the full status report

All pages, entities, functions, roles, components, and next-step recommendations.