Skip to content

3pillarlabs/hip-edit

Repository files navigation

hip-edit CircleCI

A serverless collaborative editor. Serverless in this context means no servers to manage.

Component Architecture

                /----> [ Cache ]
                |
                |
[Source] ---> [API] ---> [ Message Queue] -(stomp)--> [Source]
               ^
               |
[Source] _____/  (fetch-contents)

Event:

  • Source Hash
  • Event Type - :text_change/ :cursor_moved
  • Name
  • Initials
  • Row Number
  • Column Number
  • Row Text
  • Timestamp: Milliseconds since Epoch (UTC)
  • Commit Hash

Deployment Architecture

                                   /----> [ Redis Cache ]
                                   |
                                   |
[Editor] ---> [API Gateway] ---> [Lambda] ---> [Apache MQ] --(stomp)--> [Editor]
               ^
               |
[Editor] _____/  (fetch-contents)

Project Hierarchy

There are 3 sub-projects with their own README -

  • hip-edit-server - API
  • hip-edit-web - SPA
  • hip-edit-infra - AWS CloudFormation and SAM