This project is a collaborative code editor application, allowing multiple users to connect to a common code editor and write code together in real-time. The application is built with Spring Boot on the backend and React on the frontend, utilizing WebSockets for real-time communication and Kafka for task management.
- Real-time collaborative code editing
- Code execution service with microservice architecture
- Task handling using Kafka message broker
- WebSocket integration for real-time updates
- RESTful APIs for other operations
- Spring Boot
- WebSocket
- REST
- Kafka
- React
- socket.js
- stomp.js
- axios
- Java 21
- Node.js
- Docker
- Kafka
-
Clone the repository:
git clone https://github.com/mahiimc/Codeditor.git cd Codeditor -
Build Backend
cd server ./mvnw clean install -
Build Frontend
cd ../ui npm install npm run build -
Build Executor
cd ../executor ./mvnw clean install -
Setup Kafka
NOTE: Make sure your docker engine running
cd ../docker docker compose -f kafka-cluster up -d -
Start Backend Application
cd ../server ./mvnw spring-boot:run -
Start Executor Application
cd ../executor ./mvnw spring-boot:run -
Start Client Application
cd ../ui npm start


