This is a real-time collaborative coding platform designed for mentoring sessions, where a mentor can guide students through coding exercises. The app supports live code collaboration using Socket.IO, and it's built with React for the frontend and Node.js with Express and MongoDB for the backend.
- Real-time code collaboration between mentor and students.
- Role-based access, where the first user to join is assigned as the mentor and others as students.
- Student count tracking per session.
- Automatic matching of solutions with visual feedback.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Orshimon810/tom-lecturer.git cd tom-lecturer -
Install dependencies: npm install
-
Set up environment variables: Create a .env file in the root directory and configure the following environment variables: MONGO_URI=
REACT_APP_BACKEND_URL=http://localhost:3001
REACT_APP_FRONTEND_URL=http://localhost:3000
PORT=3001
-
Build the frontend: npm run build
-
Run the application: node server/server.js
-
Technologies Used:
Frontend: React, Ace Editor
Backend: Node.js, Express, MongoDB
Real-time Communication: Socket.IO
Deployment: Heroku