You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CollabOS is a production-grade, full-stack collaboration platform built for modern dev teams. It's not just a project manager — it's the intelligence layer that sits between your team, your code, and your tools.
🤖 Let Gemini AI plan your entire project from a single description
🔴 See which teammates are online in real-time via Socket.io presence
🔗 Sync GitHub commits directly into your project timeline
📁 Link Google Drive folders & Docs to any project
📊 Visualize contribution analytics per developer, per project
One system. Zero context-switching.
✨ Feature Highlights
Feature
Description
🔐 JWT Auth
Secure registration & login with bcrypt password hashing
🔑 Google OAuth
One-click sign-in with your Google account
🟢 Live Presence
Real-time "who's online" powered by Socket.io
👥 Team Management
Create teams, manage members, assign roles
📁 Project Planning
Create projects manually or let AI do it
🤖 AI Task Generation
Gemini AI auto-generates tasks from your project description
Per-user, per-project breakdown of commits & activity
🛡️ Rate Limiting
Prevents API abuse at the middleware level
🏗️ Tech Stack
Runtime → Node.js v18+
Framework → Express.js
Database → MongoDB + Mongoose
Authentication → JWT + bcrypt + Google OAuth 2.0
Real-time → Socket.io (presence, live events)
AI → Google Gemini API
VCS Integration → GitHub REST API
File Storage → Google Drive API
Security → Helmet, CORS, Rate Limiting
Logging → Morgan
Frontend Host → Vercel
Backend Host → Render
Database Host → MongoDB Atlas
🟢 Real-Time Presence — Socket.io
One of CollabOS's standout features is live team presence. Every authenticated user emits their status to the server when they connect, and all teammates can instantly see who's online — no polling, no refresh.
How it works:
User Opens CollabOS
↓
JWT Verified
↓
Socket.io Handshake
↓
Server registers user as "online"
↓
Broadcasts to all team members
↓
🟢 Avatar goes live in dashboard
↓
On disconnect → status removed, team notified
Events:
Event
Direction
Description
user:online
Client → Server
User connected
user:offline
Server → Client
User disconnected
team:presence
Server → Client
Full list of online team members
task:updated
Server → Client
Real-time task status change
🔑 Google OAuth Flow
Users can authenticate with their Google account instead of (or in addition to) email/password.
User clicks "Sign in with Google"
↓
Redirected to Google Consent Screen
↓
Google returns auth code
↓
Backend exchanges code → access + refresh tokens
↓
User record created / updated in MongoDB
↓
JWT issued → user is logged in
↓
Google tokens stored for Drive/Docs integration
This same OAuth session is also reused for Google Drive and Google Docs access — no re-authentication needed.
| Method | Endpoint | Description |
|---|---|---|---|
| POST | /api/auth/register | Register new user |
| POST | /api/auth/login | Login & receive JWT |
| GET | /api/auth/me | Get current user profile |
| GET | /api/auth/google | Initiate Google OAuth flow |
| GET | /api/auth/google/callback | Google OAuth callback |
PORT=5000MONGO_URI=your_mongodb_connection_stringJWT_SECRET=your_jwt_secret_keyCLIENT_URL=http://localhost:5173# Google AIGEMINI_API_KEY=your_gemini_api_key# GitHub OAuthGITHUB_CLIENT_ID=your_github_client_idGITHUB_CLIENT_SECRET=your_github_client_secret# Google OAuth + WorkspaceGOOGLE_CLIENT_ID=your_google_client_idGOOGLE_CLIENT_SECRET=your_google_client_secretGOOGLE_REDIRECT_URI=http://localhost:5000/api/auth/google/callback
4. Run
npm run dev
API: http://localhost:5000
Socket.io: same port, auto-upgraded
Note: When deploying, update CLIENT_URL and all OAuth callback URIs to match your production domains. Vercel automatically handles HTTPS — make sure your backend CORS config whitelists the Vercel domain.
🔄 Full Application Flow
User Signs Up / Google OAuth
↓
JWT Token Issued
↓
Socket.io Connection ──────────► 🟢 Live Presence in Team Dashboard
↓
Creates Team
↓
Creates Project
↓
AI Generates Tasks (Gemini) ──► Tasks auto-assigned to team
↓
GitHub Repo Connected
↓
Commits Synced & Tracked ─────► Contribution Analytics Per Dev
↓
Google Drive Folder Linked
↓
Docs Accessible Per Project
↓
Dashboard View
A collaboration hub where teams plan projects, distribute tasks, stay in sync with live presence, and track every member's contributions — so no one's work goes unnoticed.