Giter VIP home page Giter VIP logo

collaborative-lexical-editor-demo's Introduction

how to start

Installation

To install all necessary dependencies, run:

npm run install:all

If you have not installed Redis, please install Redis too. https://redis.io/docs/install/install-redis

Running the Application

To start the application, execute the following commands:

npm run start:db
npm run start:frontend
npm run start:backend

Access the frontend by navigating to http://localhost:3000/. Upon pressing enter, you may notice that the backend crashes. This is likely due to the complexity of running two instances of Yjs on the same local environment.

To resolve this, simply restart the backend after your initial connection to the frontend:

// Restart the backend after the first connection to the frontend.
npm run start:backend

Technical article (Japanese)

https://qiita.com/kanta_matsu/items/958f0c69c858f504188a

collaborative-lexical-editor-demo's People

Contributors

matsuyama-k1 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.