Production-Grade Educational Platform & Alumni Lineage Ecosystem
Department of Computer Applications · PSG College of Technology, Coimbatore
PSGMX is an enterprise-grade academic preparation, placement tracking, and alumni lineage platform custom-built for the MCA Department at PSG College of Technology. It connects active MCA cohorts with historical alumni across past graduating batches (19MX through 24MX and beyond), offering automated lineage mentorship, readiness analytics, and placement preparation tools.
The platform is structured as a unified monorepo consisting of:
- Mobile Companion (
apps/mobile): Cross-platform Flutter application tailored for daily student readiness check-ins, mock tests, placement company updates, and attendance alerts. - Web Platform (
apps/web): Next.js 16 App Router web application providing student dashboards, alumni guidance networks, faculty batch management, HOD analytics, and placement rep controls. - Backend & Database (
supabase): PostgreSQL relational database with Row-Level Security (RLS), automated batch rotation, RAG-powered Knowledge Brain embeddings, and OTP authentication.
psgmx/
├── apps/
│ ├── mobile/ # Flutter mobile application (iOS & Android)
│ │ ├── lib/ # Clean architecture (UI, BLoC/providers, services, core)
│ │ └── pubspec.yaml # Flutter dependencies & assets
│ └── web/ # Next.js 15 Web application (App Router)
│ ├── app/ # Routes (student, alumni, faculty, placement, onboarding)
│ ├── components/ # Reusable UI components & design system
│ └── lib/ # Supabase clients, utilities, & RAG helpers
├── supabase/
│ ├── migrations/ # Ordered PostgreSQL SQL migrations (00..54)
│ └── scripts/ # Python seed generators & maintenance utilities
├── data/
│ └── historical/ # Curated student & alumni rosters (19MX to 24MX)
├── docs/ # Comprehensive architecture, batch lifecycle, & PRD docs
├── CONTRIBUTING.md # Open source contribution guidelines
├── LICENSE # MIT License
└── render.yaml # Web deployment configuration
- Flutter SDK:
^3.24.0 - Java: 17 or 21 for Android builds (Java 25+ is not supported by the current Gradle toolchain)
- Node.js:
^20.0.0or^22.0.0(pnpm or npm) - Python:
^3.10(for seed generator scripts) - Supabase CLI: Optional, for local database development
cd apps/web
# Copy environment variables
cp .env.example .env
# Install dependencies
npm install
# Start local development server
npm run devOpen http://localhost:3000 in your browser.
cd apps/mobile
# Copy environment variables
cp .env.flutter.example .env.flutter
# Fetch Dart dependencies
flutter pub get
# Run application on emulator/device
flutter run --dart-define-from-file=.env.flutterSupabase migrations are located in supabase/migrations/. To apply migrations to your local or hosted Supabase project:
# Using Supabase CLI
supabase db push
# Or run migration scripts in filename order through 54_service_role_schema_privileges.sqlPSGMX features an automated Alumni Lineage Engine that connects each active student with their exact register-number senior across historical batches:
- Covered Batches:
19MX,20MX,21MX,22MX,23MX,24MX(Graduated Alumni) and25MX,26MX(Active Students). - Roster Datasets: Stored securely in
data/historical/and pre-provisioned intopublic.whitelistandpublic.users. - Lineage Maps: Idempotently maintained in
public.lineage_map.
- Row-Level Security (RLS): Enforced across all PostgreSQL tables.
- Identity Isolation: Student profiles, faculty tools, and alumni portals operate under strict RLS policies driven by
auth.uid(). - OTP Pre-Registration: Whitelisted college (
@psgtech.ac.in) and personal emails pre-authenticate student and alumni OTP logins.
We welcome contributions from students, alumni, and community developers!
Please review our Contribution Guide and Docs Directory before submitting a Pull Request.
- Fork the repo and create a topic branch (
feat/web/lineage-graphorfix/mobile/auth). - Ensure
npx tsc --noEmitandflutter analyzepass cleanly. - Open a Pull Request referencing the related issue.
This project is licensed under the MIT License.
Developed with ❤️ by the students and faculty of the MCA Department at PSG College of Technology.
