Skip to content

Create a Shared API server session using Web Workers  #78

@siraj

Description

@siraj

The current UI code only works on one tab, and socket connection is also maintained on the same UI thread, This task is to decouple the backend connection to a web worker so the api sever connection can be shared between chrome instances (tabs and windows),

  • read and understand the code,
  • setup and run your local dev instance
  • understand authentication flow
  • understand authorization flow
  • Pick the correct type of service worker
  • refactor in a way that session can be shared and maintained
  • unit tests to mock backend communication

extra points

  • using web crypto
  • paying attention to client-side data safety
  • best coding practices and using industry standard design patterns.
  • produce high quality patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions