A unified enterprise integration hub that connects services like Slack and Google Drive into a single modern web application. Built with Next.js and NestJS, it provides a secure, scalable, and developer-friendly foundation for enterprise workflows.
The Nexus Integration Platform enables teams to seamlessly access and manage enterprise services from one centralized dashboard.
Key Features:
- 🔐 Secure Authentication — JWT-based auth with role-ready architecture
- 💬 Slack Integration — Access channels, users, and messages
- 📂 Google Drive Integration — File browsing and management
- 🎨 Modern UI/UX — Built with Chakra UI for responsive and accessible design
- 🛠 Type-Safe Development — End-to-end TypeScript support
- Next.js — React framework with SSR and routing
- TypeScript — Type safety and DX
- Chakra UI — Accessible component library
- Axios — Promise-based HTTP client
- NestJS — Enterprise Node.js framework
- PostgreSQL — Relational database
- TypeORM — ORM for PostgreSQL
- JWT — Authentication and authorization
-
TypeScript Across the Stack
- Consistent language for frontend & backend
- Compile-time safety with strong IDE support
-
Next.js for the Frontend
- SEO-friendly SSR and ISR
- Built-in API routes and optimizations
-
NestJS for the Backend
- Modular, dependency-injected architecture
- Enterprise-ready with built-in guards, interceptors, and middleware
-
PostgreSQL + TypeORM
- Powerful relational database
- Declarative migrations and schema synchronization
- Node.js v16+
- PostgreSQL
- ngrok (for Slack OAuth testing)
Create .env files for frontend and backend.
DATABASE_URL=postgresql://username:password@localhost:5432/dbname
JWT_SECRET=your_jwt_secret
FRONTEND_URL=http://localhost:3000
# Slack OAuth
SLACK_CLIENT_ID=your_slack_client_id
SLACK_CLIENT_SECRET=your_slack_client_secret
SLACK_CALLBACK_URL=your_ngrok_url/auth/slack/callback
# Google OAuth
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_CALLBACK_URL=http://localhost:3001/auth/google/callbackNEXT_PUBLIC_API_URL=http://localhost:3001createdb dbname
cd backend
npm run migration:runcd backend
npm install
npm run start:devcd frontend
npm install
npm run dev-
Create a Slack app at Slack API
-
Add OAuth scopes:
users:read,users:read.email,channels:read,channels:history,groups:read -
Run ngrok:
ngrok http 3001
-
Add the ngrok redirect URL in Slack app settings
-
Update
.envwith the ngrok URL
- Enable Google Drive API in Google Cloud Console
- Create OAuth 2.0 credentials
- Add test users & configure consent screen
- Update
.envwith client credentials
-
Start backend:
cd backend npm run start:dev -
Start frontend:
cd frontend npm run dev -
Open the app at http://localhost:3000
✅ Test Cases:
- Register/Login with JWT
- Connect Slack via ngrok URL
- Connect Google Drive via OAuth
- Browse Slack channels & messages
- Browse Google Drive files
To deploy, you will need:
- Production-ready PostgreSQL instance
- Environment variables configured
- Slack app updated with production URLs
- Google OAuth credentials with production redirect URIs
- Node.js hosting (e.g., Vercel for frontend, Heroku/AWS/GCP for backend)
- JWT-based authentication
- Secure OAuth 2.0 flows for integrations
- Service tokens stored securely
- All API calls over HTTPS
- Sensitive configs in environment variables
- 🧩 Add support for more enterprise integrations (Jira, Confluence, GitHub, etc.)
- 🔄 Real-time sync with Slack/Drive events (WebSockets / Server-Sent Events)
- 📤 File upload & sharing across services
⚠️ Improved error boundaries & observability- ✅ Comprehensive unit, integration, and e2e testing