A real-time collaborative document editing web application inspired by Google Docs. This project is built using Express, React, Socket.io, and MongoDB.
- Create new documents
- Real-time collaborative editing
- Multiple users can edit a document simultaneously
- Automatic document saving
- MongoDB integration for data storage
Before you begin, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/your-username/google-docs-clone.git
-
Navigate to the project directory:
cd google-docs-clone
-
Install dependencies for the server:
cd server npm install
-
Install dependencies for the client:
cd ../client npm install
-
Create a
.env
file in theserver
directory and add the following:MONGODB_URI=your_mongodb_connection_string
-
Start the server:
cd ../server npm start
-
Start the client:
cd ../client npm start
-
Open your browser and go to http://localhost:3000
google-docs-clone/
│
├── client/ # React client application
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── App.js
│ │ └── ...
│ ├── package.json
│ └── ...
│
├── server/ # Express server application
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── configs/
│ ├── server.js
│ └── ...
│
├── .gitignore
├── package.json
└── README.md
Feel free to contribute to the project. Fork the repository, make changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.