Design QuickVerdicts: A Litigation Platform -- 2

Job ID: 39963723

Budget: ₹1,500 – ₹12,500 INR

QuickVerdicts Platform: Features & User Flows
1. User Types & Auth Flows
Users
Attorneys: Register, manage trials, teams, evidence, and participate in virtual litigation.

Jurors: Register, complete quizzes, join cases, vote, and receive payment.

Admins: Manage platform, handle escalations, and oversee all activities.

2. Authentication & Onboarding Flows
Attorney Onboarding
Multi-step signup wizard:

Personal Details: Name, contact info, firm name, phone, law license, etc.

Office Address: Structured—state, county, city, zip, address lines.

Email & Password: Email, password (with strength & rules), confirm password, OTP-based email verification.

User Agreement: Terms acceptance; locked flow if not agreed.

Success: Welcome step, option to proceed to dashboard.

Login: With email/password, token-based session, forgotten password reset (email flow).

Email Verification: Required for full access, uses server-generated OTP with resend & rate limits.

Bar License Verification: Not instant—pending admin review after signup (informs user, allows limited access).

Juror Onboarding
Similar multi-step wizard:

Eligibility / Criteria Verification: Multiple-choice quiz for basic legal eligibility.

Personal Details: Name, contact, demographic details.

Email & Password: Password rules as for attorney, OTP verification.

Payment Setup: Payment preference (Venmo, PayPal, CashApp, Zelle).

User Agreement: Must be accepted before registering.

Success: Clear next-step guidance.

Authentication (All User Types)
Password reset with email link & token.

Unified login endpoint (detects/expects user type).

3. Dashboard & Navigation
Attorney Dashboard
Home: View active/invited cases, team invites, and notifications.

Start New Case: Structured multi-step flow to create a trial, invite jurors/experts, upload evidence.

Schedule Trials: Calendar view, trial scheduling.

War Room: Team management (voir dire sections, team chat, documents, voir dire, info, apps).

Notifications: Alerts for upcoming trials, evidence reviews, team changes.

Profile: Personal/firms details, bar info, password/email management.

Billing: Upgrade tiers, manage payment methods, billing history.

Support/Help Center.

Juror Dashboard
Home: See available/assigned cases or trials, trial status.

Quizzes: Required onboarding quiz for first-time users.

Trial Participation: Join trial video, evidence review, vote casting.

Payment Management: Set/update payout method.

Profile: Contact, payment, and security info.

Admin Dashboard
User Management: Review attorneys & jurors, manually verify bar licenses, deactivate or escalate users.

Trial/Case Management: View all trials/cases and manage escalations.

Notifications: Receive system alerts and escalations.

4. Trial/Case Workflows
Creating a Trial (Attorneys)
Multi-page form: title, description, evidence uploads, motion/hrg scheduling.

Invite Jurors/Team: Search and invite by email or use QuickVerdicts random assignment.

Submit Evidence: Multi-file upload with comments and type selection.

Schedule Voir Dire: Custom voir dire form/questions for jury vetting.

Participating in a Trial (Jurors)
Receive Invite: Via email or dashboard notification.

Join War Room: Access ongoing trial dashboard, voir dire, and group chat.

Vote: Secure voting on verdict.

Completion: Upon trial closure, payout is triggered via the entered payment method.

Evidence Management
Secure upload, storage, comments, and versioning of all documents, exhibits, and media files.

Access controls: only trial team and permitted jurors see evidence.

5. Real-Time Communication
In-Trial Chat: Live chat for trial participants (attorneys, jurors, staff), segmented by roles.

Notifications: Real-time push/browser notifications for trial updates, assignments, verdicts, and platform changes.

6. Security & Verification
JWT-authenticated routes, with session/refresh management.

Strong password enforcement.

Reset flows—password, token, email verification links.

Rate limiting for sensitive endpoints (OTP, login, signup, etc).

Logging & audit trails for critical actions (admin, attorney actions, trial verdicts).

7. Other Features
File Uploads/Downloads for evidence, transcripts, and communication records.

User Tier Management (attorney upgrades, see access differences, upgrade/payment flow).

User Agreements enforced at signup (must accept terms).

Profile/Account Management with email/password change, account deletion requests.

User Flow Map—How everything connects
User Type Core Flows Special Features
Attorney Signup → Verify Email → Complete Profile → Dashboard → Start/Join Trial → Manage Team/Evidence/Voir Dire Motion scheduling, bar review, billing
Juror Signup → Eligibility Quiz → Verify Email → Onboarding Quiz → Dashboard → Join Trial → Vote/Complete Payment setup, quiz, payout
Admin Login → Manage Users/Cases → Review Bar Licenses/Disputes Escalation handling, account management
API Integration Touchpoints
Every feature above maps directly to an API endpoint (from your backend) and should have a frontend page/form:

/auth/attorney/signup, /auth/attorney/send-otp, /auth/attorney/verify-otp

/auth/attorney/login, /auth/attorney/send-email-verification

/auth/juror/signup, /auth/juror/send-otp, /auth/juror/verify-otp

/auth/juror/login, /auth/juror/send-email-verification

/auth/request-password-reset, /auth/reset-password

/auth/verify-token, /auth/me

Evidence: /files/upload, /files/list, /files/download

Scheduling: /trials, /cases, /war-room, etc.

How to rebuild your frontend from scratch (the right way):
Start with a clear routing/layout skeleton—Home, Dashboard(s), Auth, Profile, Support, etc.

Build independent reusable components for:

Form fields, file uploads, dropdowns, modals, toasts

Chat/messages, notifications, data tables

Implement page per user role and flow (use onboarding wizards for signup flows)

Strictly map each user action to an API call—test each endpoint’s responses for error/success

Integrate toast/error handling globally

Componentize dashboards and trial/voir dire/war room pages

Build out onboarding quiz components for jurors

Integrate real-time events/channel for notifications and live chat

Add settings, account management, and security flows

Finish with admin tools and bulk management screens