Skip to content

A document sharing server-client architecture similar to Google Document

License

Notifications You must be signed in to change notification settings

Francisobiagwu/DocumentSharing

Repository files navigation

Supported Python versions
Download and docs:
https://github.com/Francisobiagwu/DocumentSharing
Source code & Development:
https://github.com/Francisobiagwu/DocumentSharing

Description

This is an application layer protocol designed using deterministic finite automata. This document sharing software is similar to the Google document application that allows users authenticated users to edit, save selected document.

Getting Started

git clone https://github.com/Francisobiagwu/DocumentSharing.git

Prerequisites

Python3

Start Server

python3 DSServer.py

Start client

python3 DSClient.py

On the client terminal use the following commands to perform the required action

LOGIN

   LOGIN, USERNAME, PASSWORD, DOCUMENT_NAME

To login, use: LOGIN, Admin, root, document

REQUEST DOCUMENT SECTION TO EDIT

SECTION, SECTION_ID

COMMIT SECTION

COMMIT, SECTION_ID, DATA

LOGOFF

LOGOFF