Skip to content

CodeHiveNG is a real-time collaborative coding platform with multi-language support, live code execution, secure authentication, and seamless file management. Built with React, Node.js, and Pusher for instant updates, itโ€™s optimized for teams and individuals.

License

Notifications You must be signed in to change notification settings

Nischaya008/CodeHiveNG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

60 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CodeHiveNG

CodeHiveNG Banner

๐Ÿš€ CodeHiveNG is a real-time collaborative coding platform designed to help developers write, execute, and manage code together seamlessly. With support for multiple programming languages, live code synchronization, and a modern IDE, CodeHiveNG empowers teams to build and innovate efficiently.

๐ŸŒŸ Features

๐Ÿ”ฅ Real-time Code Collaboration

  • Multi-user simultaneous editing
  • Live code synchronization
  • Visual indicators for active users

๐Ÿ› ๏ธ Multi-language Support

Supports 7 programming languages:

  • JavaScript (v18.15.0)
  • Python (v3.10.0)
  • Java (v15.0.2)
  • C (v10.2.0)
  • C++ (v10.2.0)
  • C# (v6.12.0)
  • Go (v1.16.2)

โšก Code Execution

  • Live compilation & execution
  • Input/Output terminal support
  • Execution result sharing

๐Ÿ“‚ File Management

  • Create & save multiple files
  • Automatic file extension handling
  • File history and version tracking

๐Ÿ” User Authentication

  • Secure signup/login system
  • JWT-based authentication
  • Session management

๐ŸŽฏ Room Management

  • Private coding rooms
  • Unique room IDs for access sharing
  • Recent rooms history

๐Ÿ—๏ธ Technology Stack

Frontend

  • React.js (v18.3.1)
  • Material-UI (MUI) v6
  • Monaco Editor
  • Pusher.js (real-time updates)
  • Axios (API communication)
  • Tailwind CSS (styling)

Backend

  • Node.js with Express.js
  • MongoDB with Mongoose
  • Pusher (WebSocket communication)
  • JWT (authentication)
  • bcrypt (password hashing)

Deployment

  • Vercel for hosting
  • CORS security
  • Error handling & logging

๐Ÿ›๏ธ Architecture

Frontend Architecture

  • Component-based structure using React
  • State Management:
    • Local state with React hooks
    • Real-time sync using Pusher
    • JWT for authentication

Backend Architecture

  • Follows MVC (Model-View-Controller) pattern
  • Secure API with authentication & role-based access

Real-time Collaboration

  • Implemented using Pusher.js for instant updates

Code Execution

  • Powered by Piston API for secure & efficient code execution

User Interface

  • Modern dark theme with neon accents
  • Responsive design: Mobile-first, adaptive layouts
  • Smooth animations and custom scrollbars

๐Ÿš€ Deployment

CodeHiveNG is fully optimized for deployment on Vercel.


๐Ÿ“Œ Pros & Benefits

๐ŸŒŸ Developer Experience

โœ… Intuitive UI & UX
โœ… Real-time collaboration
โœ… Multi-language support
โœ… Integrated code execution

โšก Performance

โœ… Optimized real-time updates
โœ… Efficient code synchronization
โœ… Fast execution times
โœ… Responsive design

๐Ÿ”’ Security

โœ… JWT authentication
โœ… Secure WebSocket connections
โœ… API protection & input sanitization

๐Ÿš€ Scalability

โœ… Microservices architecture
โœ… Separate frontend & backend
โœ… Database optimization
โœ… Efficient state management

๐Ÿ”ง Maintainability

โœ… Modular components
โœ… Clean & well-documented codebase
โœ… Comprehensive error handling


๐Ÿ”ฎ Future Enhancements

๐Ÿ”œ Planned Features

  • ๐Ÿ“น Video/Audio chat integration
  • ๐Ÿ† More programming languages
  • ๐ŸŽจ Custom themes
  • ๐Ÿ“‚ Code snippets library

๐Ÿ”ง Technical Improvements

  • ๐Ÿ“ถ Offline support
  • โšก Performance optimizations
  • ๐Ÿ”’ Enhanced security features
  • ๐Ÿ‘ฅ Advanced collaboration tools

๐ŸŽฏ Getting Started

1๏ธโƒฃ Clone the repository

git clone https://github.com/Nischaya008/CodeHiveNG

2๏ธโƒฃ Install dependencies

cd frontend
npm install  # Install frontend dependencies
cd CodeHiveNG
npm install  # Install backend dependencies

3๏ธโƒฃ Start the development server

# Start frontend
cd frontend
npm start

# Start backend
cd backend
npm run dev

4๏ธโƒฃ Open in browser

http://localhost:3000

๐Ÿค Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to enhance CodeHiveNG. ๐Ÿš€

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature-name)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to the branch (git push origin feature-name)
  5. Open a pull request

๐Ÿ“ License

This project is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ“ž Contact

For any inquiries or feedback, reach out via:

Stay Innovated, Keep Coding, Think BIG! ๐Ÿš€

About

CodeHiveNG is a real-time collaborative coding platform with multi-language support, live code execution, secure authentication, and seamless file management. Built with React, Node.js, and Pusher for instant updates, itโ€™s optimized for teams and individuals.

Topics

Resources

License

Stars

Watchers

Forks