Merit-first student talent discovery for local businesses.
SkillBridge connects students from Tier-2 and Tier-3 colleges with MSMEs through reviewer-verified skills, practical assignments, auditable TrustScore, and real project delivery. Hiring decisions are based on demonstrated work rather than college brand or an inflated resume.
https://skillbridge.debarghya.org ๐
Capable students often lack access to credible work, while local businesses struggle to find affordable, evidence-backed talent. SkillBridge closes both gaps with one end-to-end workflow:
- Platform admins publish versioned skill standards, upgrade criteria, renewal periods, and practice tasks.
- Students add a catalog skill or keep a profile-only self-declared skill and request catalog support.
- Authorized review staff inside the Admin workspace assess submitted evidence against the standard captured at submission.
- Companies discover candidates through active verified skills, TrustScore, and practical interview tasks.
- Each selected student continues in an independent GIG Work item grouped under the source GIG in Project Workspace.
- Companies approve delivery and record the payment made outside SkillBridge.
- Unreviewed profile content does not award TrustScore.
- Self-declared skills remain profile-only until an admin maps them to a published catalog standard.
- Approval from the Admin review queue is required before a skill becomes verified or upgraded.
- Only active verified skills count in talent discovery, GIG matching, and Network skill summaries; public profiles label non-archived unverified skills.
- Duplicate assessment, payment, and TrustScore events are guarded at the database and service layers.
- SkillBridge records externally completed payments; it does not hold funds, provide escrow, or offer withdrawals.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. PRESENTATION TIER โ
โ React + Vite Client โ
โ โ
โ Public Experience Student Workspace Company Workspace โ
โ - Landing and login - Profile and portfolio - Business profile โ
โ - Public profiles - GIG Center - GIG Management โ
โ - Skill Hub and tasks - Talent Search โ
โ - TrustScore - Project Workspace โ
โ - Network and Team-Up - External Payments โ
โ - Earnings โ
โ โ
โ Admin Workspace: catalog, requests, blind reviews and review team โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ HTTPS / JSON API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 2. APPLICATION TIER โ
โ Node.js Native HTTP Server โ
โ โ
โ Request Pipeline Domain Services โ
โ - Routing and JSON parsing - Student and Company โ
โ - Session authentication - GIG and Interview Tasks โ
โ - Student, Company and Admin workspaces - Skill Catalog and Requests โ
โ - CORS and rate limiting - Blind Reviewer Queue โ
โ - Payload and ownership validation - TrustScore Policy Engine โ
โ - Conflict and error handling - Network and Team-Up โ
โ - Workspace and Payments โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ Mongoose ODM
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 3. DATA TIER โ
โ MongoDB Database โ
โ โ
โ Core Accounts Evidence and Work Community and Metrics โ
โ - Students - SkillAssessments - NetworkConnections โ
โ - Companies - TaskSubmissions - TeamPosts โ
โ - Admin operations users - Review history - SiteMetrics โ
โ - SkillCatalogs - SkillRequests โ
โ - Role sessions - External payment data โ
โ โ
โ Embedded account state: profiles, Skill Hub activity, TrustScore ledger,โ
โ GIG state, company task library and project workspace โ
โ Earnings: approved/unpaid and completed/paid TaskSubmissions โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โก Quick flow: React interface โ secured Node.js API โ Mongoose models โ MongoDB persistence.
To provide both an immediate executive overview and a deep architectural dive, the complete platform lifecycle is structured into two complementary models:
- Executive 5-Stage Macro Pipeline: A readable top-to-bottom milestone chain showing how an opportunity advances from onboarding to external settlement.
- Comprehensive Multi-Role State Machine: An enterprise state diagram mapping all interactions, revision loops, and atomic ledger commits across Students, Companies, and Platform Admins / Reviewers.
%%{init: {"flowchart": {"nodeSpacing": 35, "rankSpacing": 45}}}%%
flowchart LR
subgraph Stage1["1. Cryptographic Identity"]
direction TB
C_ID["Company: GSTIN or Udyam"]
S_ID["Student: Aadhaar or DigiLocker"]
HASH["Salted HMAC-SHA256 Fingerprinting"]
C_ID --> HASH
S_ID --> HASH
end
subgraph Stage2["2. Blind Skill Verification"]
direction TB
SNAP["Criteria Snapshot Captured"]
QUEUE["Blind Review Queue (PII Stripped)"]
RUBRIC{"Rubric >= 70?"}
VERIFIED["Verified Badge + TrustScore Credit"]
SNAP --> QUEUE --> RUBRIC -->|Pass| VERIFIED
end
subgraph Stage3["3. Practical GIG Screening"]
direction TB
GIG["Company GIG Listing Published"]
TASK["Practical Screening Task Assigned"]
EVAL{"Company Task Review"}
HIRED["Candidate Selected for GIG"]
GIG --> TASK --> EVAL -->|Select| HIRED
end
subgraph Stage4["4. Workspace & Milestone Delivery"]
direction TB
WORK["Independent GIG Work Item"]
BRIEF["Kickoff Brief & Milestone Tracking"]
APP{"Deliverable Approved?"}
WORK --> BRIEF --> APP
end
subgraph Stage5["5. Payment Settlement & Student Earnings"]
direction TB
PAY["Company Pays Outside Platform (UPI/NEFT)"]
REF["Unique Payment Reference Logged"]
ACID["Multi-Document ACID Transaction"]
EARN["Student Earnings Credited (Paid & Completed)"]
DONE["+150 TrustScore & Audit Ledger Recorded"]
PAY --> REF --> ACID --> EARN --> DONE
end
Stage1 --> Stage2 --> Stage3 --> Stage4 --> Stage5
This diagram groups the platform's related lifecycles by role. The groups run independently: publishing a skill standard does not automatically create a review, and a verified student does not have to enter a GIG or Team-Up workflow. Cross-domain arrows show the specific hand-offs between them.
States in the Skill Assessment and GIG Work groups correspond to persisted workflow statuses. A reviewer claim is deliberately shown as a temporary queue lease rather than an assessment status: the stored assessment remains pending until a reviewer decides it. The TrustScore group shows calculation from eligible recorded events; it is not a separate user journey or a cryptographically immutable ledger.
stateDiagram-v2
direction TB
state "Catalog Governance and Blind Review" as ReviewDomain {
[*] --> CatalogDraft: Admin creates or edits a standard
CatalogDraft --> CatalogPublished: Publish versioned standard
CatalogPublished --> CatalogDraft: Update creates next version
CatalogPublished --> CatalogArchived: Archive standard
CatalogArchived --> CatalogPublished: Restore and publish
[*] --> ReviewerAccount: Admin provisions reviewer account
ReviewerAccount --> ReviewerActive: Activate reviewer
ReviewerActive --> ReviewerInactive: Deactivate reviewer
[*] --> AssessmentPending: Student submits evidence
AssessmentPending --> ReviewClaimed: Reviewer claims temporary lease
ReviewClaimed --> AssessmentPending: Lease expires or reviewer releases claim
ReviewClaimed --> RubricScored: Five-part rubric and feedback
RubricScored --> AssessmentRevision: Request revision
RubricScored --> AssessmentApproved: Approve at required threshold
RubricScored --> AssessmentRejected: Reject with feedback
AssessmentRevision --> AssessmentPending: Student revises and resubmits
}
state "Student Skill State" as SkillDomain {
[*] --> ProfileOnlySkill: Add self-declared skill
ProfileOnlySkill --> SkillRequestPending: Request catalog support
SkillRequestPending --> CatalogMapped: Admin approves or maps request
SkillRequestPending --> ProfileOnlySkill: Request rejected
CatalogMapped --> EligibleForAssessment
EligibleForAssessment --> AssessmentPending: Verify, renew, upgrade, practice or challenge
AssessmentApproved --> ActiveVerified: Verify/renew/upgrade approval
AssessmentApproved --> PracticeRecorded: Approved retention or challenge
PracticeRecorded --> ActiveVerified
ActiveVerified --> AssessmentPending: Upgrade, renewal, practice or challenge submission
ActiveVerified --> SkillArchived: Student archives skill
SkillArchived --> ActiveVerified: Restore while verification remains valid
ActiveVerified --> SkillExpired: Validity period ends
SkillExpired --> AssessmentPending: Submit renewal evidence
}
state "GIG Interview and Work" as GigDomain {
[*] --> OpportunityOpen: Company publishes GIG or sends direct invite
OpportunityOpen --> InterviewSubmitted: Student accepts and submits task
InterviewSubmitted --> InterviewReviewed: Company reviews interview
InterviewReviewed --> InterviewRevision: Revision requested with feedback
InterviewRevision --> InterviewSubmitted: Student resubmits interview task
InterviewReviewed --> NotSelected: Reject applicant
InterviewReviewed --> Selected: Select student
Selected --> WorkStarted: Company sends required work brief
WorkStarted --> DeliverySubmitted: Student submits final delivery
DeliverySubmitted --> DeliveryRevision: Delivery revision requested with feedback
DeliveryRevision --> DeliverySubmitted: Student resubmits delivery
DeliverySubmitted --> WorkApproved: Company approves delivery
WorkApproved --> ExternalPaymentReported: Company records already-made external payment
ExternalPaymentReported --> WorkCompleted: Submission becomes completed
}
state "Network and Team-Up" as NetworkDomain {
[*] --> ConnectionPending: Student sends connection request
ConnectionPending --> ConnectionAccepted: Recipient accepts
ConnectionPending --> ConnectionDeclined: Recipient declines
ConnectionPending --> ConnectionWithdrawn: Sender cancels
ConnectionAccepted --> ConnectionRemoved: Either student removes connection
[*] --> TeamPostOpen: Owner creates open Team-Up
TeamPostOpen --> TeamRequestPending: Student applies or owner invites
TeamRequestPending --> TeamMembershipAccepted: Recipient or owner accepts
TeamRequestPending --> TeamRequestDeclined: Recipient or owner declines
TeamRequestPending --> TeamRequestWithdrawn: Applicant withdraws
TeamMembershipAccepted --> TeamMembershipLeft: Member leaves; accepted history retained
TeamPostOpen --> TeamPostClosed: Owner closes or capacity is reached
TeamPostClosed --> TeamPostOpen: Owner reopens when capacity permits
}
state "TrustScore Event and Calculation" as TrustDomain {
[*] --> EligibleEvent: Reviewed or persisted eligible event
EligibleEvent --> DeduplicatedLedger: Record event with stable reference
DeduplicatedLedger --> ScoreCalculated: Apply pool caps, weights, gates and active penalties
ScoreCalculated --> CurrentScore: Store materialized score
}
CatalogPublished --> EligibleForAssessment: Standard available
AssessmentApproved --> EligibleEvent: Authoritative review outcome
AssessmentRejected --> EligibleEvent: Only when rubric total is below 40
SkillExpired --> EligibleEvent: One expiry penalty per cycle
WorkCompleted --> EligibleEvent: Completed GIG event after external payment report
ConnectionAccepted --> EligibleEvent: Only at persisted connection milestone
TeamMembershipAccepted --> EligibleEvent: Only at persisted Team-Up milestone
WorkCompleted --> CurrentScore: Earnings and completed-work views refresh
Implementation notes: An approval, relevant review credit/penalty, and skill-state update are committed together through a MongoDB transaction when transaction support is available. Completed GIG credit is created after the company reports a unique external-payment reference; SkillBridge does not process or verify that payment. A ledger event's base points may differ from the visible score change after category caps, evidence gates, weighting, and active penalties are applied.
The TrustScore engine implements an auditable, event-driven ledger governed by strict mathematical bounds, category pool caps, and hard evidence gates. It guarantees that reputation cannot be gamed through unreviewed activity, rapid bot clicks, or inflated self-claims:
where diminishing marginal returns compress raw base points across 4 tiers:
| Event Key | Domain Category | Points ( |
Pool Cap | Invariant / Validation Rule | Anti-Gaming & Concurrency Guarantee |
|---|---|---|---|---|---|
gig_completed |
GIG Delivery | +150 |
1,500 pts | Deliverable approved by company + external payment reference logged. | Compound unique index { companyId, externalPayment.reference } prevents duplicate settlement claims. |
skill_level_upgraded |
Skill Merit | +100 |
1,500 pts | Human reviewer approves higher stage (Intermediate / Pro / Pro Mastery) with rubric |
Frozen criteriaSnapshot prevents retroactive criteria alteration; claimed via 240m TTL lease. |
daily_challenge_solved |
Daily Practice | +80 |
500 pts | Successfully solves daily technical challenge within active calendar day. | Deduplicated by day key (YYYY-MM-DD); future or backdated submissions rejected. |
skill_verified |
Skill Merit | +60 |
1,500 pts | Initial evidence verified by authorized reviewer ( |
Blind queue strips all PII; student identity concealed from reviewer. |
skill_reverified |
Skill Retention | +50 |
1,500 pts | Periodic renewal assessment passed before validity expiration window. | Early renewal adds standard duration to remaining days without truncation. |
assessment_quality |
Review Quality | +25 |
500 pts | Awarded when an approved rubric scores |
One-time bonus per assessment; awarded transactionally with verification pass. |
practice_milestone |
Consistency | +25 |
200 pts | Awarded every 30 distinct approved retention practice days (capped at 240 days). | Calculated from unique calendar days; single-day repetitions yield zero extra credit. |
network_connections_* |
Community | +25 / +75 / +150 |
250 pts | Awarded at verified milestones: 100 (+25), 500 (+75), and 1,000 (+150) connections. |
Bidirectional pairKey ([idA, idB].sort().join(':')) prevents duplicate relationship credits. |
team_up_* |
Collaboration | +25 / +75 / +150 |
250 pts | Awarded at completed Team-Up milestones: 10 (+25), 50 (+75), and 100 (+150) projects. |
Requires confirmed project conclusion; self-joins and abandoned projects award 0 points. |
assessment_below_standard |
Review Penalty | -10 |
None | Deducted when human reviewer rejects evidence scoring |
Active for 90 days; deduplicated across skills per original submission date. |
retention_answer_wrong |
Practice Penalty | -10 |
None | Deducted upon incorrect response submitted during daily skill retention quiz. | Active for 90 days; encourages rigorous practice review over random guessing. |
retention_task_missed |
Practice Penalty | -30 |
None | Deducted when an active verified skill retention challenge is missed within scheduled interval. | Active for 90 days; protects market from stale, unmaintained talent credentials. |
skill_expired |
Retention Penalty | -80 |
None | Deducted when verified skill validity window lapses without renewal. | Removes skill from active talent discovery; recovers score immediately upon re-verification. |
unreviewed_actions |
Guardrail | 0 |
0 pts | Profile creations, video uploads, self-declared skills, and individual connection requests. | Client attempts to award self-credit rejected with HTTP 403; unreviewed state earns 0 points. |
Even with high base points, a student's displayed TrustScore cannot surpass strict evidence ceilings without demonstrating genuine, multi-dimensional competence:
-
Foundation Tier (
$\le 500$ pts): Baseline progression (1 base point = 1 score point). Capped at 500 until student achieves at least 2 active verified skills. -
Skilled Tier (
$501 - 700$ pts): Diminishing returns apply (40% weight). Capped at 700 until student secures 1 active Pro / Pro Mastery skill, 2 completed GIGs, and 30 approved practice days. -
Proven Tier (
$701 - 899$ pts): Further compressed (20% weight). Capped at 899 until student achieves 2 active Pro Mastery skills, 5 completed GIGs, 90 approved practice days, and 10 high-quality reviews ($\ge 90%$ ). -
Distinguished Tier (
$900 - 1,000$ pts): Elite bracket (10% weight beyond 2,000 base points). Requires 3,000 eligible base points plus full satisfaction of all evidence gates. Max score is bounded at 1,000. - Penalty Decay & Floor: All active penalties are subtracted after applying the gate ceiling and strictly floored at 0. Dated penalties automatically expire after 90 days.
| Platform Role | Primary Workspaces & Interfaces | Core Lifecycle Responsibilities | Security, Reliability & Scalability Architecture |
|---|---|---|---|
| ๐ Student | โข Student Workspace โข Profile & Portfolio โข Skill Hub โข GIG Center โข Active GIGs โข Network & Team-Up โข Earnings & TrustScore |
โข Registers with Aadhaar/DigiLocker reference. โข Submits skill evidence against catalog snapshots. โข Completes daily practice challenges to maintain streaks. โข Connects via unique pairKey and collaborates in Team-Up projects to earn community TrustScore milestones (100/500/1000 connections; 10/50/100 team posts). โข Applies to GIGs and completes practical interview tasks. โข Executes selected work inside Project Workspace. โข Submits deliverables, handles revision feedback, and tracks earnings across Approved (Unpaid) and Completed (Paid) ledger states. |
Security & Privacy: Identity references salted and HMAC-SHA256 hashed (select: false). Blind review queues strictly strip PII.Reliability: Optimistic concurrency ( __v) prevents dirty writes during simultaneous profile/skill updates.Scalability: Embedded profile and skill arrays load in a single read query without join overhead; compound filtered index { studentId: 1, status: 1, updatedAt: -1 } provides instantaneous Earnings dashboard rendering without scanning historical submissions. |
| ๐ข Company (MSME) | โข Company Workspace โข Business Profile โข GIG Management โข Talent Search โข Task Library โข Project Workspace โข External Payments |
โข Registers with GSTIN/Udyam reference. โข Publishes GIGs and manages hiring statuses. โข Discovers verified candidates on TrustScore leaderboard. โข Issues practical screening tasks and evaluates output. โข Onboards selected talent into Project Workspace. โข Authors kickoff briefs, tracks milestones, and approves work. โข Settles payments externally (UPI/NEFT) and records unique references to conclude work. |
Security: GSTIN/Udyam references are cryptographically fingerprinted. Task review guides remain private. Reliability: Compound unique partial index on { companyId, externalPayment.reference } guarantees idempotent payment logging.Scalability: Co-located GIG states provide instantaneous dashboard rendering without cross-collection aggregation. |
| ๐ก๏ธ Platform Admin & Reviewer | โข Admin Workspace โข Skill Catalog Governance โข Skill Request Decisions โข Reviewer Administration โข Blind Assessment Queue |
โข Admin: Publishes versioned skill standards, stage requirements, and daily tasks. โข Admin: Evaluates student requests for uncataloged skills. โข Admin: Provisions and manages reviewer staff credentials. โข Reviewer: Claims submissions from blind queue (240m TTL). โข Reviewer: Grades evidence on 5-part rubric and provides qualitative feedback. |
Security: Strict role-scoped access control (admin vs reviewer) with session invalidation upon privilege revocation.Reliability: Multi-document ACID transactions via replica sets commit approvals and TrustScore updates together; frozen criteriaSnapshot prevents version skew.Scalability: Non-blocking queue leasing distributes assessment workloads evenly across staff. |
โก Quick flow: User or visitor โ workspace or public page โ public or role-protected API endpoint โ MongoDB data layer โ updated view.
This context view treats SkillBridge as one system and shows its external users and the main information they exchange with it. The following Level 1 and Level 2 views expand the system into its major processes and logical data stores.
flowchart LR
Student[Student] -->|Profile, skill evidence, applications, work, network activity| System([SkillBridge platform])
System -->|Profile, review feedback, opportunities, work status, TrustScore| Student
Company[Company or MSME] -->|Business profile, GIGs, tasks, review decisions, external payment report| System
System -->|Talent profiles, applications, delivery status, payment and project history| Company
Admin[Platform admin] -->|Skill standards, catalog decisions, reviewer administration| System
System -->|Catalog, requests, review operations and platform overview| Admin
Reviewer[Authorized reviewer] -->|Claims, rubric scores and assessment decisions| System
System -->|Blind assessment queue and review history| Reviewer
Visitor[Public visitor] -->|Public page and profile requests| System
System -->|Public landing page and sanitized public profiles| Visitor
The project-wide Level 1 DFD is shown in four small views to keep labels readable and reduce crossing arrows. Rectangles are external entities (people or organizations), rounded nodes are processes (work performed by the system), cylinders are logical data stores, and labeled arrows are data flows. These stores are logical groupings, not individual MongoDB collections. D1 is the same account/profile store wherever it appears; D3 and process 7 (TrustScore) are shared across A2, B1, and B2. A2 shows TrustScore updating the current score in D1. Repeated Student or Company boxes represent the same actor at different stages. Arrows show information, never the movement of money.
| Store | Logical contents | Current implementation |
|---|---|---|
D1 Accounts and profiles |
Student/company profiles, account state, and current score | students and companies documents, including embedded profile and workspace state. Reviewer credentials are held separately in reviewers and are omitted from the simplified workflow stores. |
D2 Skill standards and assessments |
Published skill standards, student requests, evidence submissions, and review history | skillcatalogs, skillrequests, and skillassessments collections. |
D3 TrustScore event history |
Eligible credit and penalty events used to calculate TrustScore | students.trustScoreState.events, embedded in student documents; it is not a separate collection. |
D4 GIG, interview, and work records |
Company GIG definitions, interview assignments, delivery, review, and payment reports | GIG state embedded in companies; lifecycle records and external payment reports in tasksubmissions. |
D5 Connections and teams |
Student connections, Team-Up posts, applications, invitations, and membership state | networkconnections and teamposts; Team-Up requests are embedded subdocuments. |
Roles: Platform admins govern the skill catalog, decide skill requests, and manage reviewer accounts. Authorized reviewers claim and assess submitted evidence using a rubric. The reviewer queue is blind to student identity details. Both roles use the Admin workspace but have different permissions.
Scope: These DFDs explain the main information moving through the platform. They intentionally simplify individual API routes, authentication/session checks, validation, indexes, and transaction boundaries; those are described in the architecture and operations documentation. The identity/business references shown in A1 are collected and fingerprinted by this prototype, not checked against government systems.
%%{init: {"flowchart": {"nodeSpacing": 55, "rankSpacing": 80}}}%%
flowchart TB
Student[Student] -->|Aadhaar or DigiLocker reference| Account([1. Register and build profile])
Company[Company] -->|GSTIN or Udyam reference| Account
Account -->|Account and optional profile content| D1[(D1. Accounts and profiles)]
%%{init: {"flowchart": {"nodeSpacing": 55, "rankSpacing": 80}}}%%
flowchart TB
Admin[Platform admin] -->|Publish standard| D2[(D2. Skill standards and assessments)]
Student[Student] -->|Skill evidence| Review([2. Human skill review])
Reviewer[Authorized reviewer] -->|Rubric decision| Review
Review <-->|Read standard / save assessment| D2
Review -->|Verification status| D1[(D1. Accounts and profiles)]
Review -->|Eligible credit or penalty| Score([7. TrustScore policy])
Score -->|Score event| D3[(D3. TrustScore event history)]
Score -->|Current score| D1
%%{init: {"flowchart": {"nodeSpacing": 55, "rankSpacing": 80}}}%%
flowchart TB
CompanyGig[Company] -->|GIG and interview task| Select([3. Match and assess applicants])
StudentApply[Student] -->|Application and interview answer| Select
D1[(D1. Accounts and profiles)] -->|Verified skills and score| Select
Select -->|Application and selection| D4[(D4. GIG, interview and work records)]
Select -->|Selected student| Work([4. Brief, delivery and approval])
CompanyWork[Company] -->|Brief and approval decision| Work
StudentWork[Student] -->|Deliverable or revision| Work
Work -->|Delivery and approval| D4
Work -->|Approved work: awaiting payment| Pay([5. Record external payment])
CompanyPay[Company] -->|Payment details and transaction ref| Pay
Pay -->|Payment record and status=completed| D4
D4 -->|Approved unpaid and completed paid earnings| StudentEarnings[Student: Earnings Dashboard]
Pay -->|Completed GIG credit: +150 pts| Score([7. TrustScore policy])
Score -->|Score event| D3[(D3. TrustScore event history)]
%%{init: {"flowchart": {"nodeSpacing": 55, "rankSpacing": 80}}}%%
flowchart TB
Student[Student] -->|Connection or Team-Up request| Network([6. Network and Team-Up])
D1[(D1. Accounts and profiles)] -->|Public profile and skills| Network
Network <--> D5[(D5. Connections and teams)]
Network -->|Accepted-activity milestone credit| Score([7. TrustScore policy])
Score -->|Score event| D3[(D3. TrustScore event history)]
To provide formal academic rigor for evaluation, the table below maps each high-level process to its data inputs, outputs, underlying algorithmic transformation, and implementing codebase controller:
| Process ID | Process Name | Primary Inflows (Source) | Primary Outflows (Target) | Core Transformation & Invariants | Implementing Controller |
|---|---|---|---|---|---|
1.0 |
Register & Build Profile | Registration credentials, Aadhaar/DigiLocker, GSTIN/Udyam (Student / Company) | Account record, hashed reference (D1) |
Validates payload, salts and hashes raw government references via HMAC-SHA256, initializes empty workspaces. |
studentController.jscompanyController.js
|
2.0 |
Human Skill Review | Catalog standards (D2), Student evidence, Reviewer rubric scores |
Verification state (D1), Assessment record (D2), Credit trigger (7.0) |
Strips student identity (blind queue), enforces 240-min claim lease, validates 5-part rubric ( |
skillAssessmentController.jsskillCatalogController.js
|
3.0 |
Match & Assess Applicants | GIG posting, interview task, student application (D1, Student, Company) |
Opportunity record, interview submission (D4) |
Computes profile-to-GIG match percentage, creates interview assignment snapshot, captures candidate response/links. |
gigController.jstaskBridgeController.js
|
4.0 |
Brief, Delivery & Approval | Work brief, final project deliverables, revision requests (D4, Student, Company) |
Workspace milestone state, approved deliverable (D4) |
Advances GIG item from selected to work_started, tracks brief milestones, manages revision rework loops, marks work approved. |
taskBridgeController.js |
5.0 |
Record Payment & Update Earnings | Company payment confirmation, reference, date, amount (Company) | Payment record (D4), Student Earnings (D4), Completed GIG credit trigger (7.0) |
Enforces idempotent payment references via partial unique index, verifies deliverable was approved, marks submission completed, transitions Student Earnings from awaiting payment to paid/completed, and records transaction timestamp. |
companyPaymentController.jsearningController.js
|
6.0 |
Network & Team-Up | Peer connection requests, Team-Up collaboration posts (Student) | Connection status (D5), Team membership (D5), Network milestone (7.0) |
Generates unique bidirectional pairKey, validates slot capacity for team posts, handles applicant acceptance. |
networkController.js |
7.0 |
TrustScore Policy Engine | Credit/penalty events from Processes 2.0, 5.0, and 6.0
|
Append-only event log (D3), Materialized total (D1) |
Enforces category caps, decay policies, evidence gates, and duplicate-safe idempotency; recalculates materialized TrustScore. |
trustScoreController.jsserver/utils/transaction.js
|
Process 2.0 represents the primary novelty of the platformโreplacing automated keyword parsing with an auditable, bias-free human evaluation pipeline. Its internal Level 2 decomposition is shown below:
%%{init: {"flowchart": {"nodeSpacing": 45, "rankSpacing": 60}}}%%
flowchart TD
Student[Student] -->|Evidence URL & writeup| P21([2.1 Submit Evidence & Freeze Criteria])
D2[(D2. Skill Standards)] -->|Catalog version & instructions| P21
P21 -->|Criteria snapshot & submission| D2_Sub[(SkillAssessment: status=pending)]
D2_Sub -->|Queue retrieval| P22([2.2 Blind Queue Projection])
P22 -->|Stripped record: no name, college, avatar or score| ReviewerQueue[Available Blind Queue]
Reviewer[Authorized Reviewer] -->|Claim request| P23([2.3 Lease Claim & Lock Submission])
ReviewerQueue --> P23
P23 -->|Exclusive claim: 240m TTL| D2_Claimed[(SkillAssessment: status=claimed)]
Reviewer -->|Scores 5 dimensions: Correctness, Evidence, Understanding, Testing, Comm| P24([2.4 Rubric Evaluation & Threshold Check])
D2_Claimed --> P24
P24 -->|Decision & feedback| P25{2.5 Decision Branch}
P25 -->|Score below 70: Needs Work| RejRev([Needs Revision / Disqualified])
RejRev -->|Qualitative revision feedback| Student
RejRev -->|Update status: needs_revision or rejected| D2_Sub
RejRev -->|Score below 40: Record penalty -10 pts| D3[(D3. TrustScore Event Ledger)]
P25 -->|Score 70 or above: Pass| P26([2.6 Multi-Document ACID Transaction])
P26 -->|Commit verified skill level & stage| D1[(D1. Student Document)]
P26 -->|Commit assessment approved status| D2[(D2. Skill Assessment)]
P26 -->|Append +60 verify or +100 upgrade credit| D3[(D3. TrustScore Event Ledger)]
| Flow Name | Source |
Information Attributes Transferred |
|---|---|---|
| Registration Payload | Student / Company 1.0
|
Name, email, salted password hash, location, and raw Aadhaar/DigiLocker or GSTIN/Udyam token. |
| Blind Review Packet |
2.2 |
Submission ID, target skill name, level, catalog criteria snapshot, evidence links, candidate response. (Student identity strictly excluded). |
| Review Rubric Packet | Reviewer 2.4
|
Correctness (0-5), Evidence (0-5), Understanding (0-5), Testing (0-5), Communication (0-5), qualitative feedback string. |
| Work Kickoff Brief | Company 4.0
|
GIG work item ID, task scope summary, detailed delivery instructions, milestone checklist. |
| Deliverable Packet | Student 4.0
|
Deliverable repository/preview link, execution notes, response text, completion timestamp. |
| External Payment Record | Company 5.0
|
GIG work submission ID, payment method (NEFT/UPI/Cash), currency, amount paid, unique payment reference, payment date. |
| Earnings Query Packet | Student 5.0
|
Student ID session token; returns approved unpaid earnings, verified paid history, transaction references, and totals. |
| Network & Team-Up Packet | Student 6.0
|
Target student ID, pairKey, Team-Up post ID, required skill tags, application message, collaboration slot state. |
flowchart TD
subgraph CompanySetup[Company GIG Management]
Create[Create GIG with title, skills, budget, location, work mode and type]
Publish[Save with selected status, Hiring by default]
CompanyState[(Company gigManagementState)]
Create --> Publish --> CompanyState
end
subgraph StudentDiscovery[Student GIG Center]
Browse[Load browsable company GIGs]
Match[Show informational profile-skill match percentage]
Save[Save or unsave GIG]
Apply[Apply to GIG]
StudentGigState[(Student gigState)]
Browse --> Match
Browse --> Save --> StudentGigState
Browse --> Apply --> StudentGigState
end
CompanyState -->|Hiring, Reviewing or In Progress listings| Browse
Apply -->|Add applicant and update company metrics| CompanyState
subgraph CandidateSelection[Applicant and Invitation Flow]
Applicants[Company reviews current applicant profiles]
Talent[Company discovers talent directly]
Assignment[Create or select a validated interview assignment]
Send[Send interview task]
Opportunity[(Student opportunity snapshot)]
Choice{Student decision}
Declined[Declined opportunity]
Accepted[Accepted opportunity]
Applicants --> Assignment
Talent -->|Direct invite| Assignment
Assignment --> Send --> Opportunity --> Choice
Choice -->|Decline| Declined
Choice -->|Accept| Accepted
end
CompanyState --> Applicants
subgraph Interview[Interview Assessment]
OpenTask[Open accepted assignment]
TaskType{Assignment type}
TaskEvidence[Task-specific evidence: response and/or public link]
SubmitInterview[Submit interview evidence]
Submission[(TaskSubmission document)]
ReviewInterview{Company review}
InterviewRevision[Needs revision with feedback]
InterviewRejected[Rejected]
Reviewed[Reviewed with optional score]
Selected[Student selected]
OpenTask --> TaskType
TaskType --> TaskEvidence --> SubmitInterview
SubmitInterview -->|Status: submitted| Submission --> ReviewInterview
ReviewInterview -->|Needs revision| InterviewRevision --> SubmitInterview
ReviewInterview -->|Reject| InterviewRejected
ReviewInterview -->|Review| Reviewed
Reviewed -->|Select or ready to hire| Selected
end
Accepted --> OpenTask
subgraph Delivery[Project Workspace, Active Work and Delivery]
WorkspaceGroup[GIG group in Project Workspace]
Workspace[Existing submission becomes an independent GIG Work item per student]
SelectedActive[Student Active GIG: selected; final delivery locked]
Kickoff[Company submits the work brief and starts the GIG]
WorkStarted[Status: work started; brief-sent checkpoint shown]
Updates[Company shares project updates]
Milestones[Company creates, completes or reopens milestones]
StudentWork[Student opens Active GIG, reads the brief and completes real work]
Deliver[Student submits final delivery]
DeliveryReview{Company reviews delivery}
DeliveryRevision[Needs revision with delivery-stage return state]
Approved[Status: approved; payment pending]
Selected -->|Group by source GIG| WorkspaceGroup
WorkspaceGroup -->|One item per selected submission| Workspace
Workspace --> SelectedActive
Workspace --> Kickoff
Kickoff -->|One company action| WorkStarted
Workspace --> Updates
Workspace --> Milestones
WorkStarted --> StudentWork --> Deliver
Deliver -->|Status: delivered| DeliveryReview
DeliveryReview -->|Needs revision| DeliveryRevision --> StudentWork
DeliveryReview -->|Approve| Approved
end
subgraph ExternalPayment[External Payment Recording]
Pending[Approved work appears as awaiting payment]
PayOutside[Company pays student outside SkillBridge]
Confirm[Company confirms payment was already made]
ValidatePayment[Validate ownership, amount, payment date, method and unique reference]
PaymentTransaction[Payment recording and TrustScore update]
Completed[Status: completed]
PaymentRecord[(TaskSubmission externalPayment record)]
Approved --> Pending --> PayOutside --> Confirm --> ValidatePayment --> PaymentTransaction
PaymentTransaction --> Completed
PaymentTransaction --> PaymentRecord
end
subgraph Results[Shared Results]
StudentCompleted[Student Completed GIGs]
CompanyHistory[Company payment history and project history]
StudentEarnings[Student read-only earnings history]
TrustEvent[(TrustScore event: gig completed with +150 base credit)]
TrustScore[Recalculate TrustScore under policy caps and evidence gates]
Profile[Completed GIG count and refreshed student and company talent views]
Completed --> StudentCompleted
Completed --> CompanyHistory
PaymentRecord --> StudentEarnings
PaymentTransaction --> TrustEvent --> TrustScore --> Profile
end
Submission -.->|Same TaskSubmission with stable IDs| Workspace
Completed -.->|Removed from Active GIGs| StudentCompleted
โก Quick flow: Company creates a browsable GIG โ student applies or receives a direct opportunity โ student completes the interview task โ company reviews and selects one or more students โ each selected student's submission becomes an independent GIG Work item โ company sends the paid brief and starts work โ student delivers and may revise โ company approves โ external payment is recorded โ that student's GIG Work completes, earnings update, and TrustScore is recalculated.
flowchart TD
subgraph Governance[Platform Admin Governance]
Draft[Create draft skill standard]
Define[Define aliases, stages, verification rules, upgrade rules, renewal period and daily tasks]
Publish[Publish versioned catalog skill]
Catalog[(SkillCatalog)]
ReviewerOps[Provision, suspend or reactivate reviewer accounts]
Draft --> Define --> Publish --> Catalog
end
subgraph StudentInventory[Student Skill Inventory]
Add{Add skill}
Browse[Choose a published catalog skill]
Custom[Add a self-declared skill]
ProfileOnly[Profile-only: no verification, matching or TrustScore]
Request[Request platform support or mapping]
RequestRecord[(SkillRequest)]
RequestDecision{Admin decision}
Owned[Catalog-backed skill on student profile]
Archive[Archive skill: hide from matching and block new assessments]
Restore[Restore skill]
Add --> Browse --> Owned
Add --> Custom --> ProfileOnly
ProfileOnly --> Request --> RequestRecord --> RequestDecision
RequestDecision -->|Approve or merge| Owned
RequestDecision -->|Reject with reason| ProfileOnly
Owned --> Archive --> Restore --> Owned
Catalog --> Browse
Catalog --> RequestDecision
end
subgraph StudentActions[Governed Skill Actions]
Select{Choose action}
Verify[Initial verification]
Reverify[Renew due or expired verification]
Upgrade[Upgrade to the next published stage]
Retain[Submit daily practice]
Challenge[Complete a published daily task]
Evidence[Submit original response and optional evidence link]
Owned --> Select
Select --> Verify --> Evidence
Select --> Reverify --> Evidence
Select --> Upgrade --> Evidence
Select --> Retain --> Evidence
Select --> Challenge --> Evidence
end
subgraph SubmissionAPI[Assessment Validation and Snapshot]
Validate[Validate ownership, catalog availability, mode, stage, task, response and URL]
Snapshot[Capture catalog ID, version and exact criteria]
Duplicate{Open or same-day attempt exists?}
Assessment[(SkillAssessment)]
Pending[Pending blind review]
Evidence --> Validate --> Snapshot --> Duplicate
Duplicate -->|Yes| Conflict[Return conflict; no TrustScore change]
Duplicate -->|No| Assessment --> Pending
end
subgraph ReviewerPipeline[Admin Workspace Blind Review]
AdminQueue[Admin > Review Queue]
Queue[Available queue]
Blind[Identity, college, photo, location and TrustScore hidden]
Claim[Claim with expiring lease]
Standard[Review captured versioned criteria]
Rubric[Weighted evidence rubric]
Decision{Decision}
Pending --> AdminQueue --> Queue --> Blind --> Claim --> Standard --> Rubric --> Decision
end
Decision -->|Needs revision| Revision[Student revises evidence against the original criteria snapshot]
Revision -->|Same assessment returns to pending review| Pending
Decision -->|Reject| Rejected[Record feedback; no skill reward; low-score penalty may apply]
Decision -->|Reviewer approves: at least 70 overall and 3 of 5 in key criteria| Transaction[MongoDB transaction]
subgraph ReviewEffects[Transactional Review Effects]
Mode{Assessment mode}
Verified[Activate verification using catalog renewal period]
Renewed[Renew verification and preserve remaining valid days]
Upgraded[Move to next catalog stage]
Practiced[Record approved practice day and streak]
Challenged[Record approved daily task]
SkillLog[(Skill activity log)]
Ledger[(Idempotent TrustScore event ledger)]
Transaction --> Mode
Mode -->|Verify| Verified --> SkillLog
Mode -->|Renew| Renewed --> SkillLog
Mode -->|Upgrade| Upgraded --> SkillLog
Mode -->|Practice| Practiced --> SkillLog
Mode -->|Challenge| Challenged --> SkillLog
Mode --> Ledger
end
Rejected -->|Assigned reviewer scored below 40: policy penalty| Ledger
subgraph Results[Derived Platform Results]
Score[Recalculate TrustScore under policy caps and evidence gates]
Hub[Skill Hub status, history and progress]
Matching[Company talent discovery and GIG matching]
Network[Network discovery]
PublicProfile[Public profile with verification status]
LiveGigs[Live company GIG skill requirements]
Gap[Skill Gap Report]
Ledger --> Score --> Hub
SkillLog --> Hub
Hub -->|Active verified skills only| Matching
Hub -->|Active verified skills only| Network
Hub -->|Non-archived skills, including labeled unverified skills| PublicProfile
Hub --> Gap
LiveGigs --> Gap
end
ReviewerOps --> AdminQueue
โก Quick flow: Admin publishes a versioned skill standard โ student adds the catalog skill and submits evidence โ the exact standard is captured โ authorized review staff use the Admin review queue and decide with a blind rubric โ reviewer approval updates the skill, activity log, and TrustScore ledger in one transaction โ only active verified skills enter matching and network discovery. Public profiles can also show non-archived, unverified skills with their verification status; a self-declared skill must become catalog-backed before it can be verified.
Reviewers must provide feedback and a rubric. Approval requires 70/100 overall and at least 3/5 each in correctness, evidence, and understanding. Base credits do not equal the final TrustScore increase; caps and evidence gates apply. For the complete points breakdown, diminishing returns formula, and anti-gaming matrix, see Section 2.1 โ TrustScore Merit Ledger Criteria. Demo examples remain read-only. See assessment operations and the TrustScore policy for bonuses, penalties, renewal, seeding, and release checks.
%%{init: {"flowchart": {"rankSpacing": 110, "nodeSpacing": 20}}}%%
flowchart TD
subgraph Entry[Authenticated Student Network]
Open[Open Network workspace]
Session[Validate active student session]
Load[Load Network state]
Discover[Discover students]
MyNetwork[My Network]
TeamUp[Team Up]
Open --> Session --> Load
Load --> Discover
Load --> MyNetwork
Load --> TeamUp
end
subgraph ReadModel[Network Read Model]
Relationships[(NetworkConnection records involving the student)]
RelatedPosts[(Owned TeamPosts and posts containing the student)]
BrowsePosts[(Newest open TeamPosts owned by other students)]
Candidates[(Bounded student discovery results)]
RelationshipMap[Build connected, incoming, outgoing and available relationship states]
NetworkResponse[Return suggestions, connections, requests, team posts, invitations, memberships and achievement progress]
Relationships --> RelationshipMap
Candidates --> RelationshipMap
RelatedPosts --> NetworkResponse
BrowsePosts --> NetworkResponse
RelationshipMap --> NetworkResponse
end
Session --> Relationships
Session --> RelatedPosts
Session --> BrowsePosts
Session --> Candidates
NetworkResponse --> Discover
NetworkResponse --> MyNetwork
NetworkResponse --> TeamUp
subgraph ProfilePrivacy[Student Profile and Privacy]
Card[Compact discovery card: name, location, verified skills, streak and TrustScore]
ViewProfile[Open full public student profile]
ConnectionCheck{Viewer owns profile or has an accepted connection?}
PublicEvidence[Return public portfolio, non-archived skills with verification status, activity, work style and collaboration evidence]
TeamCard[Team-Up participant cards: public fields only]
Contact[Include saved contact details]
Private[Keep contact details hidden]
Discover --> Card --> ViewProfile --> PublicEvidence
ViewProfile --> ConnectionCheck
ConnectionCheck -->|Yes| Contact
ConnectionCheck -->|No| Private
TeamUp --> TeamCard --> Private
end
subgraph ConnectionLifecycle[Connection Lifecycle]
SendRequest[Send connection request]
ValidatePair[Validate target, prevent self-request and build normalized pair key]
Existing{Relationship already exists?}
Pending[(One pending NetworkConnection per student pair)]
Recipient[Recipient sees incoming request]
Decision{Recipient decision}
Accepted[Status: accepted]
Declined[Status: declined]
Cancel[Sender cancels pending request]
Remove[Either connected student removes connection]
Revoke[Contact visibility is revoked]
Discover --> SendRequest --> ValidatePair --> Existing
Existing -->|Pending or accepted| Conflict[Return conflict]
Existing -->|None or previously declined| Pending --> Recipient --> Decision
Decision -->|Accept| Accepted
Decision -->|Decline| Declined
Pending -->|Sender action| Cancel
Accepted -->|Either participant| Remove --> Revoke
end
subgraph TeamPostLifecycle[Team-Up Post Lifecycle]
CreatePost[Create Team-Up]
ValidatePost[Validate title, description, type, required skills and team size]
TeamPost[(TeamPost owned by the creator)]
Publish[Publish as open]
Edit[Owner edits details or status]
Capacity[Prevent team size below accepted membership]
DeleteRule{Any accepted membership history?}
DeletePost[Owner deletes post]
ClosePost[Owner closes post and preserves collaboration history]
TeamUp --> CreatePost --> ValidatePost --> TeamPost --> Publish
TeamPost --> Edit --> Capacity --> TeamPost
TeamPost --> DeleteRule
DeleteRule -->|No| DeletePost
DeleteRule -->|Yes| ClosePost
end
subgraph ApplicationFlow[Student Application Flow]
Explore[Explore and filter open Team-Ups]
JoinMessage[Submit contribution message]
JoinChecks[Check post is open, not owned by applicant, not full and has no active request]
Application[(Embedded application with pending status)]
OwnerReview[Owner reviews applicant profile and message]
ApplicationDecision{Owner decision}
ApplicationAccepted[Application accepted]
ApplicationDeclined[Application declined]
Withdraw[Applicant withdraws pending request]
Publish --> Explore --> JoinMessage --> JoinChecks --> Application --> OwnerReview --> ApplicationDecision
ApplicationDecision -->|Accept| ApplicationAccepted
ApplicationDecision -->|Decline| ApplicationDeclined
Application -->|Applicant action| Withdraw
end
subgraph InvitationFlow[Direct Invitation Flow]
SelectPost[Owner selects an open Team-Up]
SelectStudent[Select student and write invitation message]
InviteChecks[Validate owner, student, capacity and existing request state]
Invitation[(Embedded invitation with pending status)]
InviteeDecision{Invited student decision}
InvitationAccepted[Invitation accepted]
InvitationDeclined[Invitation declined]
TeamPost --> SelectPost --> SelectStudent --> InviteChecks --> Invitation --> InviteeDecision
InviteeDecision -->|Accept| InvitationAccepted
InviteeDecision -->|Decline| InvitationDeclined
end
subgraph Membership[Membership and Capacity]
MembershipRecord[Accepted request becomes active membership]
AcceptedAt[Store acceptedAt for auditable collaboration history]
Full{Accepted members reached available slots?}
AutoClose[Automatically close full Team-Up]
JoinedView[Show owner and other accepted members]
Leave[Member leaves Team-Up]
PreserveHistory[Mark membership withdrawn and retain acceptedAt]
Reopen[Owner may reopen when capacity becomes available]
ApplicationAccepted --> MembershipRecord
InvitationAccepted --> MembershipRecord
MembershipRecord --> AcceptedAt --> Full
Full -->|Yes| AutoClose
Full -->|No| JoinedView
AutoClose --> JoinedView
JoinedView --> Leave --> PreserveHistory --> Reopen
end
subgraph TrustScore[Network TrustScore Integration]
CountConnections[Count persisted accepted NetworkConnections]
CountTeamUps[Count persisted current or historical accepted Team-Up participation]
ConnectionMilestones{100, 500 or 1,000 connections reached?}
TeamMilestones{10, 50 or 100 Team-Ups reached?}
TrustLedger[(Idempotent TrustScore event ledger)]
Recalculate[Recalculate TrustScore under category caps]
Accepted -->|Persist, then best-effort sync| CountConnections --> ConnectionMilestones
AcceptedAt -->|Persist, then best-effort sync| CountTeamUps --> TeamMilestones
Load -->|Reconcile on read| CountConnections
Load -->|Reconcile on read| CountTeamUps
ConnectionMilestones -->|Threshold reached| TrustLedger
TeamMilestones -->|Threshold reached| TrustLedger
TrustLedger --> Recalculate
end
subgraph Persistence[MongoDB Persistence and Safety]
ConnectionUnique[Unique normalized pairKey prevents duplicate relationships]
ConnectionIndexes[Requester and recipient status indexes support network reads]
TeamIndexes[Owner, status, participant and acceptance indexes support Team-Up reads]
OptimisticLock[Optimistic concurrency rejects conflicting TeamPost updates]
Authorization[Every write checks session, ownership, participant role and current status]
Cleanup[Account deletion removes connections, owned posts and participation references]
Pending --> ConnectionUnique --> ConnectionIndexes
TeamPost --> TeamIndexes
Application --> OptimisticLock
Invitation --> OptimisticLock
Session --> Authorization
Authorization --> Cleanup
end
โก Quick flow: Student opens Network โ backend builds relationship and Team-Up state from MongoDB โ students connect or collaborate through validated requests and invitations โ saved contact details appear only on the full profile for its owner or an accepted connection โ milestone credits are attempted after acceptance and reconciled from persisted counts on later Network reads if needed.
skillbridge/
โโโ .github/
โ โโโ workflows/ci.yml # Lint, build and server test pipeline
โโโ client/ # React 19 + Vite frontend
โ โโโ public/ # Static browser assets
โ โโโ src/
โ โ โโโ assets/ # Runtime videos and screenshot source assets
โ โ โโโ auth/ # Shared login portal
โ โ โโโ admin/ # Auth, governance, review queue and operations APIs
โ โ โโโ company/ # Company dashboard and workflows
โ โ โโโ config/ # Frontend runtime configuration
โ โ โโโ landing/ # Public landing experience
โ โ โโโ lib/ # API, URL and formatting helpers
โ โ โโโ student/ # Student dashboard and workflows
โ โ โ โโโ earning/ # Earnings read model
โ โ โ โโโ gig/ # GIG discovery and applications
โ โ โ โโโ network/ # Connections and Team-Up
โ โ โ โโโ profile/ # Profile activity heatmap
โ โ โ โโโ skillhub/ # Skills, practice, streak and gap report
โ โ โ โโโ task/ # Interview and assessment submissions
โ โ โโโ ui/ # Shared profile, loading and toast UI
โ โ โโโ App.jsx # Routes and protected workspaces
โ โ โโโ main.jsx # Browser entry point
โ โโโ package.json # Frontend dependencies and commands
โ โโโ vercel.json # SPA deployment rewrite
โ โโโ vite.config.js # Vite configuration
โโโ server/ # Node.js API and MongoDB persistence
โ โโโ config/ # Environment, policies and default state
โ โโโ controllers/ # Domain and request handlers
โ โโโ models/ # Ten Mongoose collection schemas
โ โโโ routes/ # Student Network and Skill Hub route groups
โ โโโ scripts/ # Reviewer, seed and reconciliation tools
โ โโโ tests/ # Backend unit and workflow tests
โ โโโ utils/ # Auth, validation, policy and logging helpers
โ โโโ package.json # Backend dependencies and commands
โ โโโ server.js # Native HTTP router and server entry
โโโ docs/ # Documentation
โ โโโ assets/
โ โ โโโ screenshots/ # README product screenshots
โ โโโ assessment-operations.md # Reviewer workflow notes
โ โโโ gig-pipeline-verification.md
โ โโโ landing-page.md
โ โโโ trustscore-v2.md
โโโ render.yaml # Render backend deployment
โโโ README.md
SkillBridge uses MongoDB through Mongoose. Account-owned state is embedded in the relevant student or company document, while records that have an independent lifecycle, concurrent actors, or audit requirements use dedicated collections.
How to read this design: MongoDB stores data as documents rather than as rows joined by foreign keys. The tables below identify the main collections and their references; the ERD is a simplified logical view of those relationships. Some fields shown as array or object are embedded subdocuments, not separate collections. The collection table and the embedded-state table together describe the implementation more accurately than the ERD alone.
Terms used here: A reviewer is authorized platform staff who assess student evidence; reviewer accounts can have either admin or queue-only permissions. A GIG is a project opportunity posted by a company. TrustScore is the platform's calculated signal from eligible, reviewed events. A Team-Up is a student collaboration post with applications and invitations.
Student and company accounts store their own profile and workspace state together so each account's dashboard can be loaded and updated as a unit. Skill assessments, work submissions, network connections, Team-Up posts, skill catalog entries, requests, and site metrics have separate documents because they need independent identities, histories, querying, or concurrency controls. References between collections use MongoDB ObjectIds; selected task and profile details are also copied into submissions as snapshots so past work retains the context captured when it was created.
| Architectural Dimension | Traditional Relational Database (e.g., PostgreSQL / MySQL) | MongoDB Document Model (SkillBridge Implementation) | System Benefit in SkillBridge |
|---|---|---|---|
| Workspace Query Performance | Requires 4โ6 table JOIN operations (Students, Skills, Projects, Sessions, Ledger) per dashboard load. |
Single-read document access. The entire student profile, portfolio, verified skills, and active workspace load in one indexed query. | Minimizes server latency and eliminates complex join overhead for real-time dashboards. |
| Skill Evidence & Rubrics | Rigid table columns. Difficult to accommodate polymorphic evidence (GitHub URLs, design links, live deployments, text). | Polymorphic schema. Embedded flexible structures for assessment criteria snapshots and task evidence. | Supports distinct verification requirements across engineering, design, and writing without schema migrations. |
| TrustScore Event Ledger | Requires separate ledger tables and joins for every score query. | Embedded event ledger. Immutable events are co-located in students.trustScoreState.events. |
Keeps the audit log and current score locally coherent with zero cross-table join overhead. |
| Historical Version Stability | Modifying standards requires archiving tables or historical triggers. | Snapshot embedding. Frozen criteriaSnapshot stored directly inside SkillAssessment. |
Preserves historical grading criteria permanently even if an admin updates or archives the skill standard later. |
| Collection | Owner / References | Purpose |
|---|---|---|
students |
Student account | Identity, profile, portfolio, Skill Hub state, verified skills, TrustScore event ledger, GIG state, sessions, and usage data. |
companies |
Company account | Business profile, GIG management, task library, private review guides, project workspace, sessions, and usage data. |
reviewers |
Admin operations account | Admin or queue-only reviewer role, active status, authentication sessions, and last sign-in time. |
skillcatalogs |
Platform-owned; references creating/updating Reviewer admin |
Versioned skill names and aliases, verification rules, stage requirements, renewal periods, and reviewer-checked daily tasks. |
skillrequests |
References Student, optional matched SkillCatalog, and deciding admin |
Student requests for a self-declared skill to be approved or mapped into the governed catalog. |
skillassessments |
References Student; optionally Reviewer |
Verification, re-verification, upgrade, retention, and challenge submissions with evidence, rubric scores, feedback, claim ownership, and review history. |
tasksubmissions |
References Student and Company |
Stable record shared by the interview, selection, workspace, delivery, approval, external-payment, completion, and TrustScore pipeline. |
networkconnections |
References requester and recipient Student |
One normalized relationship per student pair with pending, accepted, or declined status. |
teamposts |
References owner and participating Student records |
Collaboration posts, required skills, available slots, applications/invitations, and membership decisions. |
sitemetrics |
Platform-owned | Atomic counters such as site views, keyed by metric name. |
The tasksubmissions collection is also the source for payment and earnings views. A company records a payment it has already made outside SkillBridge; the stored record is a company report, not a payment processed or independently verified by the platform. There is no wallet, escrow balance, or withdrawal record.
erDiagram
STUDENT ||--o{ SKILL_ASSESSMENT : submits
STUDENT ||--o{ SKILL_REQUEST : requests
SKILL_CATALOG o|--o{ SKILL_REQUEST : resolves
SKILL_CATALOG o|--o{ SKILL_ASSESSMENT : governs
REVIEWER o|--o{ SKILL_ASSESSMENT : reviews
REVIEWER o|--o{ SKILL_REQUEST : decides
REVIEWER ||--o{ SKILL_CATALOG : creates
REVIEWER ||--o{ SKILL_CATALOG : updates
STUDENT ||--o{ TASK_SUBMISSION : submits
COMPANY o|--o{ TASK_SUBMISSION : owns
STUDENT ||--o{ NETWORK_CONNECTION : requests
STUDENT ||--o{ NETWORK_CONNECTION : receives
STUDENT ||--o{ TEAM_POST : creates
STUDENT }o--o{ TEAM_POST : participates
STUDENT {
ObjectId _id
string name
string email
string passwordHash
string location
number trustScore
array skills
array projects
string videoUrl
array skillHubSkills
object skillHubState
object trustScoreState
object gigState
array sessions
date createdAt
date updatedAt
}
COMPANY {
ObjectId _id
string businessName
string email
string passwordHash
string location
object businessProfile
object dashboardState
object gigManagementState
object taskLibraryState
object taskReviewGuides
object projectWorkspaceState
array sessions
date createdAt
date updatedAt
}
REVIEWER {
ObjectId _id
string name
string email
string passwordHash
string role
boolean active
array sessions
date lastSignedInAt
}
SKILL_CATALOG {
ObjectId _id
string name
array aliases
string category
string status
number version
number renewalDays
array stages
string verificationInstructions
array upgradeRequirements
array dailyTasks
}
SKILL_REQUEST {
ObjectId _id
ObjectId studentId
ObjectId matchedSkillId
string requestedName
string category
string status
string adminFeedback
ObjectId decidedBy
}
SKILL_ASSESSMENT {
ObjectId _id
ObjectId studentId
ObjectId assignedReviewerId
ObjectId catalogSkillId
number catalogVersion
string skillName
string mode
string targetStage
string attemptKey
string evidenceLink
string response
string status
boolean open
object rubric
object criteriaSnapshot
string feedback
array reviewHistory
date reviewedAt
}
TASK_SUBMISSION {
ObjectId _id
ObjectId studentId
ObjectId companyId
number companyGigId
string companyGigPublicId
number opportunityId
string gigTitle
string taskTitle
object taskDetails
string workBrief
object interviewSubmission
array matchedSkills
string submissionLink
string submissionContent
string status
number score
string feedback
object externalPayment
date completedAt
date submittedAt
date reviewedAt
}
NETWORK_CONNECTION {
ObjectId _id
string pairKey
ObjectId requester
ObjectId recipient
string status
date respondedAt
}
TEAM_POST {
ObjectId _id
ObjectId owner
string title
string description
string type
array requiredSkills
number slots
string status
array requests
}
SITE_METRIC {
ObjectId _id
string key
number count
date updatedAt
}
In Mermaid ERD notation, || means exactly one, o| means zero or one, and o{ means zero or many. For example, each assessment belongs to one student, while a student may submit many assessments. A task submission must reference a student and may reference a company, which accommodates legacy or unowned records. A skill request may be linked to a catalog entry when one is matched and may be decided by a reviewer. Each skill catalog entry records both its creating reviewer and its most recent updating reviewer; those can be the same account.
Network connections point to two student accounts: the requester and recipient. Team-Up participation is shown as a many-to-many relationship for conceptual clarity, but the implementation embeds applications, invitations, and membership decisions as request subdocuments inside each teamposts document; each subdocument references the participating student. The diagram intentionally omits many embedded fields and snapshot values to stay readable. Fields such as a student's name and skills inside a task submission are historical snapshots, not additional relationships to student records.
To provide formal academic clarity on storage types, structural constraints, and default invariants, the schema definitions for the primary workflow collections are specified below:
| Field Name | Type | Constraints & Defaults | Description |
|---|---|---|---|
_id |
ObjectId |
Primary Key, Auto-generated | Unique identifier for the student. |
name |
string |
Required, Trimmed | Student full legal name. |
email |
string |
Required, Unique, Lowercase | Unique authentication credential. |
passwordHash |
string |
Required, { select: false } |
Bcrypt salted password hash. |
identityVerificationHash |
string |
Max length: 100, { select: false } |
HMAC-SHA256 hash of Aadhaar or DigiLocker token. |
trustScore |
number |
Default: 0, Indexed (-1) |
Materialized score summary for talent discovery. |
skills |
array of strings |
Default: [] |
Profile-declared skills (unverified baseline). |
skillHubSkills |
array of objects |
Subdocument schema, Default: [] |
Verified skills with levels, renewal dates, and catalog references. |
trustScoreState.events |
array of objects |
Append-only ledger | Authoritative, immutable event log powering TrustScore calculations. |
sessions |
array of objects |
{ select: false }, Max 5 sessions |
Active session tokens, client IPs, and expiry timestamps. |
| Field Name | Type | Constraints & Defaults | Description |
|---|---|---|---|
_id |
ObjectId |
Primary Key, Auto-generated | Unique identifier for the business enterprise. |
businessName |
string |
Required, Trimmed | Registered enterprise legal trade name. |
email |
string |
Unique, Sparse, Lowercase | Primary business login and notification address. |
phone |
string |
Unique, Sparse | Optional contact and mobile login credential. |
passwordHash |
string |
Required, { select: false } |
Bcrypt salted enterprise password hash. |
verificationMethod |
string (Enum) |
gstin, udyam, Default: gstin |
Business verification standard selected during registration. |
verificationReferenceHash |
string |
Max length: 100, { select: false } |
Salted HMAC-SHA256 fingerprint of GSTIN or Udyam token. |
businessProfile |
object |
Embedded subdocument | Enterprise profile metadata: industry, logo, intro video, team size, website, contact. |
gigManagementState |
object |
Embedded state | Real-time GIG postings, hiring statuses, and candidate applicant pipelines. |
taskLibraryState |
object |
Embedded state | Reusable screening task assignments, guidelines, point weights, and formats. |
taskReviewGuides |
object |
Private state | Confidential candidate evaluation guides and answer keys hidden from applicants. |
projectWorkspaceState |
object |
Embedded state | Active GIG Work projects, kickoff briefs, milestone updates, and delivery evaluations. |
paymentState |
object |
Embedded state | Audit log of external payment confirmations and unique transaction reference records. |
sessions |
array of objects |
{ select: false }, Max 5 sessions |
Active company session tokens, client IPs, and expiry timestamps. |
| Field Name | Type | Constraints & Defaults | Description |
|---|---|---|---|
_id |
ObjectId |
Primary Key, Auto-generated | Unique identifier for the work submission. |
studentId |
ObjectId |
Reference: Student, Required |
Candidate assigned to the opportunity. |
companyId |
ObjectId |
Reference: Company, Required |
Organization that published the parent GIG. |
companyGigId |
number |
Required | Numeric identifier of the parent GIG inside the company workspace. |
opportunityId |
number |
Required | Stable opportunity index tying interview to delivery. |
status |
string (Enum) |
submitted, reviewed, selected, rejected, work_started, delivered, approved, completed, ready_to_hire, needs_revision |
Unified lifecycle status across interview and GIG delivery. |
taskDetails |
object |
Snapshot | Frozen copy of interview instructions, duration, and format. |
workBrief |
string |
Trimmed, Optional | Kickoff brief instructions provided by the company in Project Workspace. |
submissionLink |
string |
Trimmed, URL | External deliverable link (GitHub repository, live preview, document). |
externalPayment |
object |
Embedded subdocument | Company-reported payment metadata (amount, currency, method, reference, date). |
| Field Name | Type | Constraints & Defaults | Description |
|---|---|---|---|
_id |
ObjectId |
Primary Key, Auto-generated | Unique assessment submission identifier. |
studentId |
ObjectId |
Reference: Student, Required |
Candidate submitting evidence. |
catalogSkillId |
ObjectId |
Reference: SkillCatalog |
Governed skill standard referenced at submission. |
criteriaSnapshot |
object |
Immutable snapshot | Preserves catalog instructions, version, and rubrics at submission time. |
assignedReviewerId |
ObjectId |
Reference: Reviewer, Optional |
Reviewer currently holding the exclusive review lease. |
claimExpiresAt |
date |
Optional, TTL lease | Expiry timestamp (default 240 mins) releasing idle claims back to the pool. |
rubric |
object |
5 criteria (0โ5 scale) | Human review rubric: Correctness, Evidence, Understanding, Testing, Communication. |
status |
string (Enum) |
pending, claimed, reviewed, rejected, needs_revision |
Assessment evaluation lifecycle status. |
The GIG Work lifecycle (TaskSubmission document: submitted โ reviewed โ selected โ work_started โ delivered โ approved โ completed) and the Skill Hub lifecycle (SkillAssessment + embedded skillHubSkills: self_declared โ pending_submission โ claimed โ verified_active with renewal, upgrade, and practice loops) are formally modeled in the Comprehensive Multi-Role State Machine (Deep Dive) under the Architecture section.
To eliminate collection scans, optimize real-time sorting, and enforce uniqueness invariants at the database level, SkillBridge uses targeted compound, partial, and multikey indexes:
| Collection | Index Specification | Index Type | Query / Invariant Optimized |
|---|---|---|---|
students |
{ trustScore: -1, createdAt: -1 } |
Compound Descending | High-speed retrieval for Talent Search leaderboard ordered by merit. |
students |
{ location: 1 }, { skills: 1 } |
Single-field / Multikey | Geolocation matching and self-declared skill lookups. |
students |
{ "skillHubSkills.name": 1 } |
Multikey Index | Candidate matching against active company GIG skill requirements. |
tasksubmissions |
{ studentId: 1, companyId: 1, companyGigId: 1, opportunityId: 1 } |
Compound Unique (Partial) | Invariance: Guarantees a student cannot submit duplicate records for the same GIG opportunity. |
tasksubmissions |
{ companyId: 1, "externalPayment.reference": 1 } |
Compound Unique (Partial) | Idempotency: Prevents a company from recording the same external payment reference multiple times. |
tasksubmissions |
{ studentId: 1, status: 1, updatedAt: -1 } |
Compound Filtered | Accelerates the student Earnings view without scanning unapproved or historical work. |
networkconnections |
{ pairKey: 1 } |
Unique Index | Guarantees mutual connection uniqueness ([idA, idB].sort().join(':')) preventing duplicate requests. |
skillassessments |
{ status: 1, assignedReviewerId: 1, submittedAt: 1 } |
Compound Queue Index | Powers the blind reviewer claim queue, serving oldest unassigned submissions first. |
skillcatalogs |
{ canonicalName: 1 }, { aliases: 1 } |
Unique / Multikey | Prevents naming collisions and duplicate canonical standards across the platform catalog. |
- Optimistic Concurrency Control (OCC): High-contention entities (
Student,TaskSubmission,SkillAssessment) use MongooseoptimisticConcurrencytracking the__vdocument version. If two reviewers claim a submission simultaneously or an applicant updates while a company reviews, the second write aborts with aVersionError, which the API maps to an explicitHTTP 409 Conflictrather than allowing silent data overwrite. - Multi-Document ACID Transactions: Handled through
saveDocumentsAtomically()in server/utils/transaction.js. In production MongoDB replica set deployments, approving a skill assessment or logging a GIG payment updates the target record and the student's TrustScore event ledger inside a shared session. Both writes commit atomically, guaranteeing zero phantom approvals or orphaned score points. - Cryptographic Reference Protection: Sensitive identity identifiers (Aadhaar, DigiLocker, GSTIN, Udyam) are never stored in raw text. They are hashed using HMAC-SHA256 with a 32+ character server secret (
identityVerificationHash) and hidden by default with{ select: false }to prevent data exfiltration.
To provide an exhaustive, well-spaced architectural overview of the platform's multi-role capabilities, the structural hierarchies below break down all functional domains, workspaces, modules, and sub-features implemented across SkillBridge with full breathing room.
Student Workspace
โโโ ๐ผ GIG Center
โ โโโ ๐ Browse GIGs (Filter by title, skill, location, budget, stipend, remote/hybrid/onsite)
โ โโโ ๐ Informational Skill-Match Score (% profile skill match against active GIG requirements)
โ โโโ ๐ Saved GIGs (Bookmark opportunities for later application)
โ โโโ ๐ Applied GIGs (Live application tracking across review, interview, and selection stages)
โ โโโ ๐ฉ Direct Invitations & Opportunities (Accept or decline direct company interview invites)
โ โโโ ๐ Active GIGs (Access Project Workspace, kickoff brief, milestones, deliverable submission)
โ โโโ ๐ Completed GIGs (Archived deliverable records, settlement details, completion history)
โ
โโโ โก TrustScore Engine
โ โโโ ๐ Materialized Score & Tier Badge (0โ1000 scale: Foundation, Skilled, Proven, Distinguished)
โ โโโ ๐ก๏ธ Hard Evidence Ceilings (Tier gate progress tracking for verified skills, GIGs, practice days)
โ โโโ ๐ Category Pool Breakdown (Itemized credits: practice, skills, GIGs, quality, network, team-up)
โ โโโ ๐ Immutable Audit Ledger (Normalized event history with credit/penalty breakdown)
โ โโโ โณ Penalty Decay Engine (90-day automatic expiration for deduction events)
โ โโโ ๐ฅ Activity Streaks (Continuous practice streak counter with IST midnight rollover)
โ
โโโ ๐ฏ Skill Hub
โ โโโ ๐ Governed Skill Catalog (Browse admin-published versioned standards)
โ โโโ ๐งช Verification Submission (Submit proof URL and technical writeup against frozen criteria)
โ โโโ ๐ผ Stage Upgrades (Apply for Intermediate, Pro, and Pro Mastery credential stages)
โ โโโ โณ Renewal & Expiry Management (Countdown timer, early renewal re-verification)
โ โโโ ๐งฉ Daily Challenges (Technical tasks for streak continuity and practice points)
โ โโโ ๐ง Retention Quizzes (Active verified skill recall prompts with anti-forgetting intervals)
โ โโโ ๐ Dynamic Skill-Gap Report (Real-time comparison between student skills and market GIG demand)
โ โโโ ๐ Skill Mapping Requests (Request uncataloged self-declared skills to be added to catalog)
โ
โโโ ๐ค Network & Team-Up
โ โโโ ๐ฅ Student Discovery (Search peers by verified credentials, badges, and TrustScore)
โ โโโ ๐ Peer Connections (Bidirectional mutual relationships via unique pairKey)
โ โโโ ๐ฅ Team-Up Collaboration (Create multi-member project posts, set required skills, recruit teammates)
โ โโโ ๐ฌ Collaboration Invites (Send and receive Team-Up join requests and invites)
โ โโโ ๐ Privacy-Protected Profiles (Contact details restricted to confirmed connections)
โ
โโโ ๐ฐ Earnings & Payout Ledger
โ โโโ โณ Approved Earnings (Work approved by company, awaiting external payment)
โ โโโ ๐ณ Completed Earnings History (Verified payment records with transaction timestamps)
โ โโโ ๐งพ Payment Reference Auditing (Unique transaction token, method [UPI/NEFT/IMPS], amount)
โ โโโ ๐ก๏ธ Zero-Custody Ledger (Immutable audit log without platform wallet or escrow risk)
โ
โโโ ๐ค Profile & Portfolio Editor
โ โโโ ๐ Professional Bio & Metadata (Work style, collaboration focus, portfolio links)
โ โโโ ๐ ๏ธ Skills Management (Manage self-declared skills and display verified badges)
โ โโโ ๐ Project Showcase (Rich project cards with live demo and GitHub repository links)
โ โโโ ๐ฅ Introduction Video (Hosted intro video embed for company discovery)
โ โโโ ๐๏ธ Public Profile Preview (Live preview of how companies view candidate credentials)
โ
โโโ ๐ Practical Task Center
โโโ ๐ป Screening Task Interface (Complete practical interview assignments with draft auto-save)
โโโ ๐ฆ Deliverable Submission Portal (Submit code repositories, documentation, and handle revision rework)
Company Workspace
โโโ ๐ My Business (Command Center)
โ โโโ ๐ Operational Dashboard (Live metrics: active GIGs, applicants, pending task reviews, active projects)
โ โโโ โก Quick Navigation (One-click shortcuts to post GIGs, evaluate talent, and log payments)
โ
โโโ ๐ผ GIG Management
โ โโโ โ GIG Creation Wizard (Title, description, skills, budget, location, work mode [Remote/Hybrid/Onsite])
โ โโโ ๐ Status Lifecycle Controls (Draft, Hiring, Reviewing, In Progress, Completed, Closed)
โ โโโ ๐ Applicant Review Pipeline (Inspect applicant dossiers, review TrustScores, dispatch screening tasks)
โ
โโโ ๐ฏ Task Center & Assignment Library
โ โโโ ๐ Reusable Assignment Templates (Author technical screening tasks with private review guides)
โ โโโ ๐ Candidate Task Reviewer (Grade practical submissions, issue structured rework feedback)
โ โโโ ๐จ Direct Opportunity Dispatcher (Directly invite talent from search to complete an assignment)
โ
โโโ ๐ Talent Search & Leaderboard
โ โโโ ๐ Verified Merit Leaderboard (Candidates ranked strictly by active verified skills and TrustScore)
โ โโโ ๐ Multi-Parameter Filtering (Filter by specific skill stage, minimum TrustScore, geolocation)
โ โโโ ๐ Verified Candidate Dossier (Inspect portfolio, rubric scores, verified credentials, intro video)
โ โโโ โ๏ธ Direct Opportunity Offers (Send customized interview invitations to selected candidates)
โ
โโโ ๐ Project Workspace
โ โโโ ๐๏ธ Independent GIG Work Items (Discrete workspaces for each selected student)
โ โโโ ๐ Kickoff Brief Authoring (Define project scope, deliverables, deadlines, and milestones)
โ โโโ ๐ฉ Milestone Checkpoints (Publish milestone updates, track progress, mark checkpoints complete)
โ โโโ ๐ฆ Final Deliverable Review (Evaluate final code deliverables, request revision rework, approve work)
โ
โโโ ๐ณ External Payments & Settlement
โ โโโ โณ Unpaid Deliverables Queue (Approved student work awaiting off-platform settlement)
โ โโโ ๐ Payment Logging Modal (Record UPI/NEFT reference, transaction date, and paid amount)
โ โโโ ๐ก๏ธ Idempotent Reference Guard (Compound unique index preventing duplicate payment recording)
โ โโโ ๐ Historical Settlement Ledger (Immutable audit trail of all completed payments)
โ
โโโ ๐ข Business Profile & Credibility
โโโ โ๏ธ Profile Editor (Business name, GSTIN/Udyam reference, industry, description, website, contact)
โโโ ๐๏ธ Public Company Preview (Transparent credibility card visible to student applicants)
Platform Admin & Reviewer Workspace
โโโ ๐ Platform Governance & Telemetry
โ โโโ ๐ Platform Overview (Global counts: registered students, companies, published GIGs, review queue depth)
โ โโโ โฑ๏ธ Review Throughput Metrics (Track average turnaround times, claim expirations, approval ratios)
โ
โโโ ๐ Skill Catalog Governance
โ โโโ โ๏ธ Versioned Standard Authoring (Canonical skill names, categories, aliases, stage requirements)
โ โโโ ๐
Daily Practice Configuration (Author daily challenge prompts, retention questions, renewal duration)
โ โโโ ๐ Snapshot Immutability (Strict versioning preventing retro-breaking existing assessment criteria)
โ
โโโ ๐ฅ Skill Requests Management
โ โโโ ๐ Student Request Queue (Inspect uncataloged skill requests submitted by students)
โ โโโ โ๏ธ Decision Engine (Approve as new catalog standard, map to existing alias, or reject with reason)
โ
โโโ ๐ถ๏ธ Blind Assessment Queue
โ โโโ ๐ PII-Stripped Evaluation Pool (Conceals student identity, college, email, and demographics)
โ โโโ โฑ๏ธ Concurrency Claim Lease (Exclusive 240-minute TTL lease with automatic non-blocking timeout release)
โ โโโ ๐ 5-Part Rubric Scoring (Correctness, Evidence, Understanding, Testing, Communication; 0โ100 scale)
โ โโโ โ๏ธ Multi-Path Decision Dispatcher:
โ โ โโโ โ
Approved (โฅ 70%): Verified badge awarded + TrustScore credit (+60/+100 pts)
โ โ โโโ ๐ Needs Revision (< 70%): Actionable qualitative feedback returned for resubmission
โ โ โโโ โ Rejected (< 40% / Plagiarism): Closes submission and logs active reputation penalty (-10 pts)
โ โโโ ๐ Complete Evaluation Audit Trail (Review history, timestamps, grading breakdown, reviewer logs)
โ
โโโ ๐ฅ Reviewer Staff Administration
โโโ ๐ค Staff Account Provisioning (Create reviewer credentials with scoped permissions)
โโโ ๐ Role-Based Access Control (Granular privilege separation: Super Admin vs Queue-Only Reviewer)
โโโ ๐ Reviewer Performance Audit (Reviewer activity logs, grading distribution, lease discipline)
Shared Platform Systems & Cross-Cutting Architecture
โโโ ๐ฟ Public Experience & Landing
โ โโโ ๐ข Merit-First Marketplace Showcase (Value proposition, ecosystem mechanics, demo portal)
โ โโโ ๐ Public Talent Directory (Search active verified talent with protected contact details)
โ โโโ ๐๏ธ Role-Based Authentication Portal (Isolated entry points for Students, Companies, and Admins)
โ
โโโ ๐ก๏ธ Security, Cryptography & Privacy Layer
โ โโโ ๐ Cryptographic Identity Fingerprinting (Salted HMAC-SHA256 for Aadhaar/DigiLocker and GSTIN/Udyam)
โ โโโ ๐ Blind Queue PII Stripping (Protects candidate evaluation against gender, caste, college, and regional bias)
โ โโโ ๐ฆ Rate Limiting & Input Sanitization (Express route-scoped rate limiters, payload validation, XSS escaping)
โ
โโโ โก Ledger Integrity & Concurrency Architecture
โ โโโ ๐ Optimistic Concurrency Control (Mongoose OCC with __v versioning preventing dirty writes)
โ โโโ โ๏ธ Multi-Document ACID Transactions (Atomic multi-collection commits across replica sets)
โ โโโ ๐ Event-Driven TrustScore Ledger (Idempotent normalized event store with 90-day penalty decay)
โ
โโโ ๐ Zero-Custody Settlement Philosophy
โโโ ๐ซ Non-Custodial Architecture (Platform holds zero funds, maintains no wallets, and charges zero escrow fees)
โโโ ๐ Verified External Ledger (Companies pay students directly via UPI/NEFT and log immutable audit tokens)
The authenticated workspace captures below use the current interface at a consistent, readable desktop viewport. Illustrative read-only data is used where a screen needs example activity; no private account data is shown.
| Editable profile | Public profile preview |
|---|---|
![]() |
![]() |
| Editable business profile | Public business profile preview |
|---|---|
![]() |
![]() |
Screenshot uses representative counts; live totals change with platform activity.
| Area | Technology |
|---|---|
| Client | React 19, React Router 7, Vite 8, CSS, Lucide icons |
| API | Node.js 22, native HTTP server, REST-style JSON |
| Data | MongoDB, Mongoose 9 |
| Authentication | Role-scoped bearer sessions and password hashing with Node.js crypto |
| Reliability | Schema validation, optimistic concurrency, transactions, unique indexes, rate limits |
| Testing | Node.js test runner, integration scripts, ESLint, Vite production build |
| Delivery | Vercel frontend, Render backend, GitHub Actions CI |
- Node.js 22 or newer
- npm
- A local or hosted MongoDB deployment
git clone https://github.com/debarghya131/SkillBridge.git
cd SkillBridge
cd server && npm ci
cd ../client && npm cicd server
cp .env.example .envSet a valid MONGO_URL in server/.env. The provided defaults are suitable for a local frontend on http://localhost:5173.
Terminal 1:
cd server
npm run devTerminal 2:
cd client
npm run dev| Service | Local URL |
|---|---|
| Web app | http://localhost:5173 |
| API | http://localhost:5000 |
| API readiness | http://localhost:5000/ready |
| Variable | Default | Purpose |
|---|---|---|
NODE_ENV |
development |
Runtime mode |
MONGO_URL |
required | MongoDB connection string |
MONGO_DB_NAME |
required in production when the URI has no database path | Explicit application database name; use skillbridge for a new deployment |
MONGO_URL (production) |
replica set or mongos required | Production startup checks transaction support for reviewed assessments, account deletion, and payment/TrustScore updates |
DB_MAX_POOL_SIZE |
20 |
Maximum MongoDB connections per API instance |
DB_MIN_POOL_SIZE |
0 |
Warm MongoDB connections retained per API instance |
DB_MAX_IDLE_TIME_MS |
30000 |
Idle MongoDB connection lifetime |
DB_SERVER_SELECTION_TIMEOUT_MS |
10000 |
MongoDB server-selection timeout |
VERIFICATION_HASH_SECRET |
required in production | 32+ character secret used to HMAC identity/business verification references |
PORT |
5000 |
API port |
CORS_ORIGIN |
http://localhost:5173 |
Allowed client origin |
SESSION_TTL_DAYS |
30 |
Session lifetime |
MAX_SESSIONS_PER_ACCOUNT |
5 |
Concurrent session limit |
REVIEW_CLAIM_TTL_MINUTES |
240 |
Reviewer claim lease duration |
MAX_REQUEST_BODY_BYTES |
8000000 |
Maximum JSON request size |
RATE_LIMIT_WINDOW_MS |
60000 |
General rate-limit window |
RATE_LIMIT_MAX_REQUESTS |
120 |
General requests per window |
AUTH_RATE_LIMIT_MAX_REQUESTS |
12 |
Authentication requests per window |
DAILY_USER_RATE_LIMIT_MAX_REQUESTS |
2000 |
Authenticated requests per user per day |
DAILY_SECTION_OPERATION_LIMIT |
2 |
Limited writes per section per day |
RATE_LIMITING_ENABLED |
true |
Set to false only for controlled local testing |
LOG_LEVEL |
info |
Server log threshold |
Always select the database explicitly. A MongoDB URI with no path and no MONGO_DB_NAME falls back to the database named test; production startup now rejects that ambiguous configuration. Adding MONGO_DB_NAME does not migrate existing collections, so back up and migrate any existing test data before changing a deployed service.
Create the first platform administrator from the server directory, then apply production indexes:
npm run reviewers:create -- --name "Platform Admin" --email admin@example.com --password "use-a-long-temporary-password" --role admin
npm run db:indexes -- --applyVITE_API_URL=http://localhost:5000VITE_API_URL must point to the deployed Render API in production. The API's CORS_ORIGIN must contain the corresponding Vercel/custom frontend origin.
Production disables Mongoose automatic index creation. Run all commands from server/ against staging first, then production after a backup:
| Command | Purpose |
|---|---|
npm run db:audit |
Read-only: inspect document sizes, inline media, and index storage. |
npm run db:indexes |
Read-only: report existing and redundant indexes. |
npm run db:indexes -- --apply |
Create declared indexes without removing custom indexes. |
npm run db:indexes -- --apply --drop-redundant |
Also remove known redundant standalone indexes. |
npm run db:migrate-verification |
Dry-run: find legacy raw verification references. |
npm run db:migrate-verification -- --apply |
Replace raw references with HMAC fingerprints. |
npm run demo:cleanup -- --confirm |
One-time: remove legacy database-backed showcase seed. |
Showcase records are generated at runtime from server/config/showcaseFixtures.js and are never inserted into MongoDB. They carry reserved demo-* identifiers with demoData: true; writes to them are rejected with HTTP 403.
cd server
npm run check
npm test
cd ../client
npm run lint
npm run buildFor a browser smoke test of real student, company, and admin flows, run npx playwright install chromium --only-shell once from client, then npm run test:browser:demo. The test uses the configured MongoDB server but creates and removes its own sbqa_* database; it does not write to the test or skillbridge application databases.
GitHub Actions runs backend syntax checks and tests plus the production client build on every push and pull request.
- Keeping student, company, and reviewer actions consistent across one work lifecycle.
- Turning evidence and practical work into a fair, non-duplicated TrustScore signal.
- Keeping a skill review tied to the requirements the student actually saw, even if an admin later edits the standard.
- Managing responsive dashboards with dense operational workflows.
- Centralized the GIG, task, review, payment, and completion lifecycle in persistent backend records.
- Used reviewer rubrics, transactions, unique indexes, and an event ledger to protect skill and TrustScore updates.
- Captured each skill standard's version and criteria with the submission so blind reviewers assess the original requirements.
- Built role-specific, responsive workspaces with shared API helpers and validation.
- Add notifications for invitations, review outcomes, milestones, and recorded payments.
- Expand browser-level end-to-end coverage and admin observability.
- Add managed media uploads and payment-proof/dispute records.
- Integrate independent identity and business-reference checks and confirmation of company-reported payments.
- Designing a two-sided marketplace requires explicit ownership and status transitions.
- A reputation system needs auditable events, not client-side counters.
- Account registration, reviewer-verified skills, and company-reported payments provide different levels of evidence and should not be presented as the same kind of verification.
- Focused domain modules make a large React and Node.js application easier to evolve.
I always like to make new friends. Follow me on:






















