Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VITE_API_URL=
VITE_ZEGO_APP_ID=
VITE_ZEGO_SERVER_SECRET=
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ dist
dist-ssr
*.local

# Environment variables
.env
.env.local
.env.production

# Uploads
uploads/

# Server build
server/dist/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand Down
8 changes: 8 additions & 0 deletions .vite/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"hash": "48037c4b",
"configHash": "a57dfbf4",
"lockfileHash": "5ccddd87",
"browserHash": "6f809531",
"optimized": {},
"chunks": {}
}
3 changes: 3 additions & 0 deletions .vite/deps/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
136 changes: 136 additions & 0 deletions DEMO_PRESENTATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# Nexus Platform Demo Presentation

## Slide 1: Platform Overview
**Nexus** is a comprehensive platform connecting entrepreneurs and investors for seamless collaboration.

**Key Features:**
- Real-time messaging and video calling
- Document sharing with e-signatures
- Meeting scheduling with conflict detection
- Secure payment processing
- AI-powered matchmaking (planned)

**Target Users:** Entrepreneurs seeking funding, Investors seeking opportunities

---

## Slide 2: Authentication & Role-based Dashboards
- JWT-based secure authentication with 2FA
- Separate dashboards for Entrepreneurs and Investors
- Profile management with bio, experience, and preferences
- Role-based access control throughout the platform

**Demo Flow:**
1. Register as Entrepreneur → Redirected to Entrepreneur Dashboard
2. Register as Investor → Redirected to Investor Dashboard
3. Login with email/password + OTP verification

---

## Slide 3: Meeting Scheduling & Video Calling
- Create meetings with conflict detection (no double booking)
- Calendar view of all scheduled meetings
- Real-time video calling with WebRTC (ZegoCloud integration)
- Audio/video toggle, room joining, call ending

**Demo Flow:**
1. Schedule meeting → Appears in calendar
2. Accept/Reject meeting → Status updates
3. Join meeting → Video call opens with correct room ID

---

## Slide 4: Document Processing Chamber
- Secure document upload (Multer storage)
- PDF preview functionality
- E-signature capture with react-signature-canvas
- Document status tracking (draft → review → signed)

**Demo Flow:**
1. Upload document → Stored in database
2. Open signature modal → Draw signature → Save
3. Document status changes to signed

---

## Slide 5: Payment Section & Transaction History
- Stripe sandbox integration for deposits
- Mock withdrawal and transfer functionality
- Transaction history with status tracking (pending/completed/failed)
- Secure payment processing with error handling

**Demo Flow:**
1. Deposit funds using Stripe test card
2. View transaction in history
3. Attempt withdrawal (mock success)

---

## Slide 6: Security Features
- Form validation and XSS/SQL injection protection (Zod + sanitize-html)
- Bcrypt password hashing
- Secure JWT tokens with expiration
- 2FA OTP via Nodemailer (demo mode fallback)
- Role-based authorization on all protected routes

**Demo Flow:**
1. Try submitting XSS in forms → Sanitized
2. Access investor route as entrepreneur → 403 Forbidden
3. Login without 2FA → Blocked

---

## Slide 7: Tech Stack & Architecture
**Frontend:** React + TypeScript + Vite + Tailwind CSS
**Backend:** Node.js + Express + TypeScript + MongoDB
**Real-time:** Socket.IO for messaging/calling
**Payments:** Stripe API
**Video:** ZegoCloud WebRTC
**Deployment:** Vercel (frontend) + Render (backend)

**Architecture Diagram:**
```
[Frontend - Vercel]
↓ API calls
[Backend - Render]
[MongoDB Atlas] - Users, Meetings, Documents, Transactions
[Socket.IO] - Real-time events
[ZegoCloud] - Video calling
[Stripe] - Payments
```

---

## Slide 8: Live Demo Flow
1. **Registration:** Create Entrepreneur account → Dashboard loads
2. **Profile Setup:** Update bio and preferences
3. **Meeting Scheduling:** Create meeting with investor → Calendar updates
4. **Video Call:** Join meeting → Real-time audio/video
5. **Document Sharing:** Upload NDA → Sign electronically
6. **Payments:** Process deposit → View in transaction history
7. **Messaging:** Send real-time messages
8. **Notifications:** Receive alerts for all activities

---

## Slide 9: Deployment & Scaling
**Current Deployment:**
- Frontend: Vercel (SPA with API rewrites)
- Backend: Render (Node.js with auto-scaling)
- Database: MongoDB Atlas (cloud-hosted)

**Production Ready Features:**
- Environment variable configuration
- Error logging and monitoring
- Rate limiting and security headers
- API documentation (Swagger UI)
- Health check endpoints

**Future Scaling:**
- Redis for session management
- AWS S3 for file storage
- Load balancing
- Microservices architecture
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export default tseslint.config(
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
}
);
Loading