Skip to content

Over the edge distribution #25

Description

@BobdenOs

As CAP is fully written in javascript. There is no technical reason that the logic can't run inside the browser client. Therefor this milestone aims to run a private CAP node inside the browser clients as a Service Worker. There are certain limitation for running inside a Service Worker. Which will primarily be broken by the @sap/cds code base. Therefor it is required to write a converter middleware that will force @sap/cds to comply to the Service Worker limitations. If this converter exists all the existing CAP code will also automatically become compliant.

Additionally for the file service it is required to support the browser local storage API instead of the cds.utils.fs exposure of the node:fs package. This also allows the browser to run with private persistence which acts like a local draft mechanism out of the box. Additionally it should allow the private cluster node to download and run deployed applications into the Service Worker for full offline functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MilestoneMeasurable achievement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions