Git Product home page Git Product logo

imboyo / fork-google-docs-clone-vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cpascal-gr/google-docs-clone

0.0 0.0 0.0 3.24 MB

A Real-Time Collaborative Editor based on Vuejs, SocketIO and Vuetify. Uses MongoDB as the database and Mongoose as the ORM

Home Page: https://vedantmamgain.github.io/Google-Docs-Clone/

License: MIT License

Shell 0.29% JavaScript 38.45% HTML 3.91% Vue 57.35%

fork-google-docs-clone-vue's Introduction

Google Docs Clone ๐Ÿ“

GitHub license Github Followers GitHub stars GitHub forks GitHub watchers Twitter Follow

This is Google Docs Clone built tp demonstrate use of Vue as the front end framework and Socketio for Real Time Collabration on documents.Dedicated to all Web Developers with โค๏ธ.

About

It uses the tiptap-vuetify to render the editor and socketio for Real Time collabration. MongoDB is used as the database and Mongoose for modelling the documents.For all the requests and stae management Vuex is used.

  • Clean and Simple Material UI.
  • It supports dark theme too ๐ŸŒ—.

Built With ๐Ÿ› 

  • Vue.js - A progressive framework for building user interfaces.
  • Vuex - Vuex is a state management pattern + library for Vue.js applications...
  • Vue Router - The official Router for Vue.js. It deeply integrates with Vue.js core to make building Single Page Applications with Vue.js a breeze.
  • Socket IO - SocketIO enables real-time, bidirectional and event-based communication.
    • Events - Socket IO allows you to emit and receive custom events.
    • Rooms and Namespaces - This is a useful feature to send notifications to a group of users, or to a given user connected on several devices for example.
  • MongoDB - MongoDB is a document database, which means it stores data in JSON-like documents.
  • Mongoose - Elegant MongoDB object modeling for node.js
  • Morgan HTTP request logger middleware for node.js
  • Cors - CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
  • Vuetify - Vuetify is a Vue UI Library with beautifully handcrafted Material Components.
  • tiptap-vuetify - Component simplifies integration tiptap editor with vuetify

Frontend Structure

client    # Root Folder
.
โ”œโ”€โ”€ node_modules       # Contains all the dependencies of the project
โ”œโ”€โ”€ public             # Contains the index.html
โ”œโ”€โ”€ src                # source of the frontend
โ”‚   โ”œโ”€โ”€ assets         # All of the assests are stored here
โ”‚   โ”œโ”€โ”€ components               # Contains all the components used in the project
          โ”œโ”€โ”€ EditorFile.vue     # tiptap-vuetify is rendered here
โ”‚   โ”œโ”€โ”€ router         # Contains all the components used in the project
โ”‚   โ”œโ”€โ”€ store          # Folder for the Vuex.State is managed through here
โ”‚   โ”œโ”€โ”€ views          # Contains all the views
โ”‚   โ”œโ”€โ”€ App.vue        # Contains the Editor Component and the toolbar
โ”‚   โ”œโ”€โ”€ first.vue      # Document is named and saved from here
โ”‚   โ”œโ”€โ”€ home.vue       # contains the <router-view>
โ”‚   โ”œโ”€โ”€ main.js        # main javascript file for the frontend

Backend Structure

server    # Root Folder
.
โ”œโ”€โ”€ node_modules       # Contains all the dependencies of the project
โ”œโ”€โ”€ models             # consist of pages which are rendered to the user when requests
โ”œโ”€โ”€ controllers        # Renders the appropriate view with the model data as a response.
โ”œโ”€โ”€ routes             # Enable us to define URL pattern that maps to the request handler.
โ”œโ”€โ”€ index.js           # main javascript file for the backend

Architecture

The backend of this web app uses MVC (Model View Controller) architecture. You are free to changes the routes,controller have your own database or schema as everything is seperated.

Contribute

If you want to contribute to this library, you're always welcome!

Contact

If you need any help or need to give me some advice, you can connect with me.

Visit:- Vedant Mamgain

License

MIT License

Copyright (c) 2020 Vedant Mamgain

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

fork-google-docs-clone-vue's People

Contributors

vedantmamgain avatar dependabot[bot] avatar imgbotapp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.