Skip to content

MuhammadZaighamAsif/Nexus

Β 
Β 

Repository files navigation

Nexus - Business Networking Platform

A modern, full-featured business networking platform built with React, TypeScript, and Tailwind CSS. Connect entrepreneurs with investors, manage meetings, handle payments, and streamline collaboration.

πŸš€ Live Demo

View Live Application

✨ Features

πŸ” Authentication & Security

  • User Authentication: Secure login/signup for entrepreneurs and investors
  • Two-Factor Authentication: Enhanced security with 2FA (bypass for demo accounts)
  • Role-Based Access: Separate dashboards for entrepreneurs and investors
  • Password Recovery: Forgot password functionality

πŸ“Š Dashboard & Analytics

  • Personalized Dashboards: Role-specific dashboards with key metrics
  • Wallet Balance Display: Real-time balance tracking on dashboards
  • Activity Tracking: Recent activities and notifications
  • Profile Completion: Progress indicators and profile management

πŸ’° Payment System (Milestone 5)

  • Mock Payment UI: Stripe/PayPal inspired payment interface
  • Transaction Management:
    • Deposit funds with card simulation
    • Withdraw funds with bank account simulation
    • Transfer funds between users
    • Transaction history with full details
  • Funding Deals: Investor-to-entrepreneur funding flow
  • Wallet Balance: Real-time balance updates and tracking

πŸ“… Calendar & Scheduling

  • FullCalendar Integration: Professional calendar interface
  • Availability Management: Add/modify availability slots
  • Meeting Requests: Send and manage meeting invitations
  • Meeting Management: Accept/decline and view confirmed meetings
  • Time Zone Support: Proper date/time handling

πŸ’¬ Communication

  • Real-time Messaging: Direct communication between users
  • Chat Interface: Modern chat UI with user lists
  • Message History: Persistent conversation history
  • Online Status: User presence indicators

🀝 Collaboration

  • Collaboration Requests: Send partnership requests
  • Request Management: Accept/decline incoming requests
  • Connection Tracking: View and manage business connections
  • Profile Discovery: Browse entrepreneur and investor profiles

πŸ“„ Document Management

  • Document Upload: File upload with drag-and-drop
  • Document Chamber: Secure document sharing
  • PDF Viewer: Integrated PDF viewing capabilities
  • File Organization: Document categorization and sharing

🎨 User Experience

  • Responsive Design: Mobile-first design approach
  • Modern UI/UX: Beautiful interface with Tailwind CSS
  • Toast Notifications: Real-time feedback and alerts
  • Loading States: Smooth loading animations and states

πŸ› οΈ Tech Stack

Frontend

  • React 18: Modern React with hooks and concurrent features
  • TypeScript: Type-safe development
  • Vite: Fast build tool and development server
  • Tailwind CSS: Utility-first CSS framework
  • Lucide React: Beautiful icon library

Libraries & Tools

  • React Router DOM: Client-side routing
  • React Hot Toast: Notification system
  • FullCalendar: Advanced calendar functionality
  • React PDF: PDF viewing and manipulation
  • React Dropzone: File upload interface
  • Date-fns: Date manipulation utilities
  • Axios: HTTP client for API calls

Development & Deployment

  • ESLint: Code linting and formatting
  • Vite: Build tool and dev server
  • Vercel: Deployment platform
  • PostCSS: CSS processing

πŸ“¦ Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn package manager

Setup Steps

  1. Clone the repository:

    git clone https://github.com/MuhammadZaighamAsif/nexus.git
    cd nexus
  2. Install dependencies:

    npm install
  3. Start development server:

    npm run dev
  4. Build for production:

    npm run build
  5. Preview production build:

    npm run preview

πŸš€ Deployment

Vercel Deployment (Recommended)

This project is pre-configured for Vercel deployment:

  1. Push to Git Repository:

    git add .
    git commit -m "Initial commit"
    git push origin main
  2. Connect to Vercel:

    • Go to Vercel
    • Import your Git repository
    • Vercel will auto-detect the Vite configuration
    • Deploy automatically
  3. Environment Variables (if needed):

    • Add any required environment variables in Vercel dashboard

Manual Deployment

# Build the project
npm run build

# Serve the dist folder with any static server
# Example with serve:
npx serve dist

πŸ“ Project Structure

Nexus/
β”œβ”€β”€ public/
β”‚   └── pdf.worker.min.mjs          # PDF.js worker
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ calendar/               # Calendar components
β”‚   β”‚   β”œβ”€β”€ chat/                   # Chat and messaging
β”‚   β”‚   β”œβ”€β”€ collaboration/          # Collaboration requests
β”‚   β”‚   β”œβ”€β”€ entrepreneur/           # Entrepreneur-specific components
β”‚   β”‚   β”œβ”€β”€ investor/               # Investor-specific components
β”‚   β”‚   β”œβ”€β”€ layout/                 # Layout components (Navbar, Sidebar)
β”‚   β”‚   β”œβ”€β”€ payments/               # Payment system components
β”‚   β”‚   β”‚   β”œβ”€β”€ PaymentForm.tsx     # Stripe/PayPal style payment UI
β”‚   β”‚   β”‚   β”œβ”€β”€ TransactionHistory.tsx # Transaction log
β”‚   β”‚   β”‚   β”œβ”€β”€ WalletBalance.tsx   # Balance display
β”‚   β”‚   β”‚   └── FundingDealCard.tsx # Funding deal management
β”‚   β”‚   └── ui/                     # Reusable UI components
β”‚   β”œβ”€β”€ context/
β”‚   β”‚   └── AuthContext.tsx         # Authentication state management
β”‚   β”œβ”€β”€ data/
β”‚   β”‚   β”œβ”€β”€ users.ts                # Mock user data
β”‚   β”‚   β”œβ”€β”€ messages.ts             # Mock message data
β”‚   β”‚   β”œβ”€β”€ meetings.ts             # Mock meeting data
β”‚   β”‚   β”œβ”€β”€ collaborationRequests.ts # Mock collaboration data
β”‚   β”‚   └── payments.ts             # Mock payment data
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ auth/                   # Authentication pages
β”‚   β”‚   β”œβ”€β”€ dashboard/              # Dashboard pages
β”‚   β”‚   β”œβ”€β”€ payments/               # Payment pages
β”‚   β”‚   β”œβ”€β”€ profile/                # Profile pages
β”‚   β”‚   β”œβ”€β”€ investors/              # Investor discovery
β”‚   β”‚   β”œβ”€β”€ entrepreneurs/          # Entrepreneur discovery
β”‚   β”‚   β”œβ”€β”€ messages/               # Messaging pages
β”‚   β”‚   β”œβ”€β”€ documents/              # Document management
β”‚   β”‚   β”œβ”€β”€ settings/               # User settings
β”‚   β”‚   └── videoCall/              # Video calling
β”‚   β”œβ”€β”€ types/
β”‚   β”‚   └── index.ts                # TypeScript type definitions
β”‚   β”œβ”€β”€ App.tsx                     # Main app component
β”‚   β”œβ”€β”€ main.tsx                    # App entry point
β”‚   └── vite-env.d.ts               # Vite type definitions
β”œβ”€β”€ package.json                    # Dependencies and scripts
β”œβ”€β”€ tailwind.config.js              # Tailwind configuration
β”œβ”€β”€ tsconfig.json                   # TypeScript configuration
β”œβ”€β”€ tsconfig.app.json               # App-specific TypeScript config
β”œβ”€β”€ tsconfig.node.json              # Node-specific TypeScript config
β”œβ”€β”€ eslint.config.js                # ESLint configuration
β”œβ”€β”€ vercel.json                     # Vercel deployment config
└── README.md                       # This file

🎯 Usage Guide

For New Users

  1. Sign Up: Create an account as entrepreneur or investor
  2. Complete Profile: Fill in business details and preferences
  3. Enable 2FA (optional): Add extra security layer
  4. Explore Dashboard: View personalized metrics and activities

Demo Accounts

Use these accounts for testing (no 2FA required):

  • Entrepreneur: sarah@techwave.io / password123
  • Investor: michael@vcinnovate.com / password123

Key Workflows

πŸ’° Payment Management

  1. Navigate to Payments in the sidebar
  2. View wallet balance on dashboard
  3. Deposit/withdraw/transfer funds
  4. Manage funding deals (investors)
  5. View transaction history

πŸ“… Meeting Scheduling

  1. Go to Calendar section
  2. Add availability slots
  3. Send meeting requests
  4. Accept/decline invitations
  5. Join scheduled meetings

🀝 Collaboration

  1. Browse Investors or Entrepreneurs
  2. Send collaboration requests
  3. Manage incoming requests
  4. Connect and communicate

πŸ’¬ Communication

  1. Use Messages for direct chat
  2. View online status
  3. Send files and documents
  4. Access chat history

πŸ”§ Development

Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build
npm run lint         # Run ESLint

Code Quality

  • TypeScript: Strict type checking enabled
  • ESLint: Code linting and formatting
  • Prettier: Code formatting (via ESLint)

Mock Data

The application uses mock data for development:

  • User accounts and profiles
  • Messages and conversations
  • Meetings and calendar events
  • Transactions and payments
  • Documents and files

🀝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch:
    git checkout -b feature/amazing-feature
  3. Commit your changes:
    git commit -m 'Add amazing feature'
  4. Push to the branch:
    git push origin feature/amazing-feature
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Use functional components with hooks
  • Maintain consistent code style
  • Add proper error handling
  • Test on multiple devices/browsers

Built with ❀️ using modern web technologies.

Last updated: January 8, 2026

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -am 'Add new feature'
  4. Push to the branch: git push origin feature-name
  5. Submit a pull request

πŸ“ž Contact

For questions or support, please open an issue on GitHub or contact via email:

zaighamasif06@gmail.com .

Built with ❀️ using modern web technologies.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 80.0%
  • TypeScript 20.0%