A real-time collaborative document editor inspired by Google Docs.
- JWT Authentication (secure login/register)
- Role-based Access Control (owner, editor, viewer)
- Real-time Collaboration (Socket.IO, Quill)
- Live Cursor Indicators
- Comment System (real-time, collaborative)
- Version History (view/restore previous versions)
- Document Sharing (invite users, assign roles)
- Modern UI (Material-UI, responsive, dialogs)
- Frontend: React, Material-UI, Quill, Socket.IO Client
- Backend: Node.js, Express, Socket.IO, MongoDB, Mongoose, JWT
- Node.js (v16+ recommended)
- npm
- MongoDB (local or Atlas)
- Clone the repo:
git clone https://github.com/utpal-kumar-08/docScribe.git cd docScribe - Install server dependencies:
cd server npm install - Install client dependencies:
cd ../client npm install
Create a .env file in the server directory:
PORT=5001
JWT_SECRET=your_jwt_secret_here
MONGO_URI=mongodb://localhost:27017/docscribe
- Start MongoDB (if local):
- On Windows: Run "MongoDB Compass" or
mongodin a terminal
- On Windows: Run "MongoDB Compass" or
- Start the backend:
cd server npm start - Start the frontend:
cd ../client npm start - Open http://localhost:3000 in your browser
- Register and log in
- Create, edit, and share documents
- Collaborate in real-time with others
- Add comments, view version history, and restore previous versions
MIT