Skip to content

This project is a clone of 'Google Docs', designed to provide a collaborative document editing experience similar to Google Docs. It allows multiple users to create, edit, and collaborate on documents in real-time.

Notifications You must be signed in to change notification settings

KshitijTodkar48/Google-Docs-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

⭐ Introduction

This project is a clone of 'Google Docs', designed to provide a collaborative document editing experience similar to Google Docs. It allows multiple users to create, edit, and collaborate on documents in real-time.

🟢 Features

  • Document Creation and Storage: Users can create new documents and store them securely in the database.
  • Real-time Document Editing: Multiple users can collaborate and edit the same document simultaneously, with changes reflected instantly for all participants.
  • Real-time Sync: Changes made by different users are automatically synchronized across all connected clients, ensuring seamless collaboration.
  • Rich Text Editing: The Quill text editor provides a rich editing experience, allowing users to format text, add images, and more.

🔧 Tech-Stack

  • Frontend:

    • React.js
    • Quill
    • shadcn/ui
  • Backend:

    • Node.js
    • Socket.io
  • Database:

    • MongoDB
  • Other Tools:

    • TypeScript

▶️ Getting Started

To get a local copy up and running, please follow these simple steps.

🟡 Prerequisites

Here's what you need to be able to run the application locally:

  • Node.js (Version: >=18.x)
  • MongoDB
  • npm / yarn

💻 Development

🟢 Setup

  1. Clone the repo into a public GitHub repository (or fork https://github.com/KshitijTodkar48/Google-Docs-Clone/fork).

    git clone https://github.com/KshitijTodkar48/Google-Docs-Clone.git
  2. Go to the project folder

    cd Google-Docs-Clone
  3. Go to the server directory

    cd server
  4. Install packages with npm/yarn

    npm install

    or

    yarn install
  5. Set up your .env variables.

    Create a new file named .env, one in Google-Docs-Clone/server directory.

    Add a variable named DATABASE_URL in it.

    • You will need you own MongoDB database (local or cloud). Put its link under DATABASE_URL in the .env file.
  6. Run the following command:

      npm run dev

Now the backend server will be running on http://localhost:3000

  1. Open a new terminal and go to the client directory

    cd client
  2. Install the client dependencies with npm/yarn

    npm install
  3. Run the following command:

      npm run dev

The React app will be running on http://localhost:5173

▶️ Preview

Google-Docs-Clone.mp4

About

This project is a clone of 'Google Docs', designed to provide a collaborative document editing experience similar to Google Docs. It allows multiple users to create, edit, and collaborate on documents in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published