How sakamuriajithsai09-png/parallel works
PARALLEL is a smart-campus complaint and issue-management application. Its core workflow is student submission and automatic categorization, admin assignment, staff repair and proof upload, admin verification, then student review or reopening. The server also serves the student and landing-page interfaces, supports role-based authentication, and exposes complaint and staff queries. Source excerpts show these responsibilities in server.js; the README is empty, and the HTML, data files, and most server routes were not sampled, so connections involving them are limited to directly evidenced ones.
Main entry points: server.js Express API · db.json JSON data store · parallel_student_app.html Student app · index.html Landing page
Components 20
Web entry points
- Express API
server.js - Student app
public/parallel_student_app.html - Landing page
public/index.html - Serverless entry
api/index.js - Project download
public/parallel-project.zip
Identity
- Role authentication
server.js - Supabase Auth
- Account migration
scripts/migrate-supabase-users.js
Complaint lifecycle
- Complaint queries
server.js - AI classification
server.js - Staff assignment
server.js - Repair and proof
server.js - Proof verification
server.js - Student review
server.js - Staff workload
server.js
Persistence
- JSON data store
db.json - Complaint seed data
data/complaints.json
Other components
- Student
- Admin
- Staff
Connections 24
- Student app → Student: serves interface
- Landing page → Express API: served by
server.js - Student → Express API: submits requests
- Express API → Student app: serves route
server.js - Express API → Landing page: serves root
server.js - Express API → Project download: downloads file
server.js - Serverless entry → Express API: exports app
api/index.js - Express API → Role authentication: registers routes
server.js - Role authentication → Supabase Auth: authenticates users
server.js - Account migration → Supabase Auth: migrates accounts
scripts/migrate-supabase-users.js - Admin → Express API: uses API
- Staff → Express API: uses API
- Express API → Complaint queries: registers routes
server.js - Complaint queries → JSON data store: reads and writes
server.js - Complaint queries → AI classification: classifies submission
server.js - Admin → Staff assignment: assigns work
- Staff → Repair and proof: updates repair
- Admin → Proof verification: reviews proof
- Student → Student review: rates resolution
- Staff assignment → JSON data store: updates complaint
server.js - Repair and proof → JSON data store: updates complaint
server.js - Proof verification → JSON data store: updates complaint
server.js - Student review → JSON data store: updates complaint
server.js - Staff workload → JSON data store: reads workload
server.js