Diplodoc is a collaborative text document editor created to solidify our academic knowledge and demonstrate the fundamentals of asynchronous applications.
The solution features a client-server architecture, utilizing the Svelte JavaScript framework for the client and Python for the server. The server handles basic locking mechanisms and manages the event loop, ensuring smooth operation. Communication between the front-end and server is achieved through the exchange of serialized messages via WebSockets, enabling a basic level of asynchronous interaction between the components.
cd diplodoc-server
poetry install
poetry run python3 diplodoc/server.py
Update SERVER_URL
in diplodoc-client/src/App.svelte
to match your server's ip.
cd diplodoc-client
npm install
HOST=0.0.0.0 npm run dev