This project is a Group Work AI IDE designed to facilitate real-time collaborative coding for multiple users. Built with a focus on security and privacy,All participants can work simultaneously on the same project, enabling seamless collaboration, efficient teamwork, and synchronized updates.
A real-time collaborative coding platform that allows multiple developers to work together on projects with integrated AI assistance powered by Google's Gemini AI. The platform features a web-based code editor, file management, live preview, and intelligent code generation.
- Real-time Collaboration: Multiple users can work on the same project simultaneously
- AI-Powered Code Generation: Integrated Gemini AI assistant for code suggestions and generation
- Live Code Editor: Syntax-highlighted code editor with real-time updates
- Web Container Integration: Run and preview applications directly in the browser
- Project Management: Create, manage, and share coding projects
- User Authentication: Secure user registration and login system
- File Tree Management: Organize and navigate project files easily
- Live Chat: Communicate with collaborators in real-time
- Responsive Design: Works seamlessly across different screen sizes
- React 18 - Modern UI library
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Socket.io Client - Real-time communication
- Axios - HTTP client for API requests
- React Router DOM - Client-side routing
- Highlight.js - Syntax highlighting
- Markdown-to-JSX - Markdown rendering
- WebContainer API - Browser-based development environment
- Node.js - JavaScript runtime
- Express.js - Web application framework
- MongoDB - NoSQL database
- Mongoose - MongoDB object modeling
- Socket.io - Real-time bidirectional communication
- JWT - JSON Web Token authentication
- bcrypt - Password hashing
- Google Generative AI - AI integration
- Redis - Caching and session management
Before running this project, make sure you have the following installed:
- Node.js (v16 or higher)
- npm or yarn
- MongoDB (local installation or MongoDB Atlas)
- Redis (for caching)
- Google AI API Key (for Gemini AI integration)
git clone <repository-url>
cd Agentscd backend
npm installCreate a .env file in the backend directory:
PORT=3000
MONGODB_URI=mongodb://localhost:27017/collaborative-coding
JWT_SECRET=your-super-secret-jwt-key
GOOGLE_AI_KEY=your-google-ai-api-key
REDIS_URL=redis://localhost:6379cd ../frontend
npm installcd backend
npm startcd frontend
npm run devThe application will be available at:
- Frontend:
http://localhost:5173 - Backend:
http://localhost:3000
PORT- Server port (default: 3000)MONGODB_URI- MongoDB connection stringJWT_SECRET- Secret key for JWT token generationGOOGLE_AI_KEY- Google AI API key for Gemini integrationREDIS_URL- Redis connection URL
- Visit Google AI Studio
- Create a new API key
- Add the API key to your
.envfile asGOOGLE_AI_KEY
- Register/Login: Create an account or login with existing credentials
- Create Project: Start a new coding project
- Invite Collaborators: Add team members to your project
- Code Together: Use the real-time editor to write code collaboratively
- AI Assistance: Type
@aifollowed by your request to get AI-powered code suggestions - Live Preview: Run your application and see live results in the integrated browser
- Chat: Communicate with your team using the built-in chat feature
POST /users/register- User registrationPOST /users/login- User loginGET /users/profile- Get user profileGET /users/all- Get all users
POST /projects/create- Create new projectGET /projects/get-project/:id- Get project detailsPUT /projects/add-user- Add collaborator to projectPUT /projects/update-file-tree- Update project file structure
POST /ai/generate- Generate AI responses
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the ISC License.
- MongoDB Connection Error: Ensure MongoDB is running and the connection string is correct
- Redis Connection Error: Make sure Redis server is running
- AI Not Responding: Verify your Google AI API key is valid and has sufficient quota
- WebContainer Issues: Ensure you're using a modern browser that supports WebAssembly
For support and questions, please open an issue in the repository or contact the development team.
Umashankar Singh ([email protected]) Abhay Singh ([email protected]) Sakshi Sachan ([email protected]) Abhinav Maurya ([email protected])
Built with β€οΈ by the development team