Skip to content

Study: MaweJS as web service #424

@mkoskim

Description

@mkoskim

When thinking about what technologies to use to implement the third generation of my Moe/Mawe editor family, I chose ElectronJS + React. The reason was that making the editor with web technologies would allow it to become a we service at some point of the future.

If hosted as a web service, MaweJS does not need SSR (Server Side Rendering). Any host capable of serving static files would be enough. The entire editor is located as static files in out/renderer/ directory (index.html + built js + built css). ElectronJS is needed just to get access to local files, nothing more.

So, to get MaweJS as a pure web application, do:

  1. To test the idea, an easy way would make a simple NodeJS/express local server: run it, bind it to port like 8080, head your browser to localhost:8080 to see if it works.
  2. Implement file drag-and-drop to get files in from local storage, and implement browser download the edited text.
  3. Implement cloud drive integrations. This is needed for the desktop client already, and it would be absolutely great if MaweJS would be a web service.
  4. Get a server space to host the renderer source.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions