resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
689 stars 67 forks source link

document read and write path #24

Closed ghost closed 6 years ago

ghost commented 6 years ago

Would be great to have doc folder so that as a developer i can see how te system works architecturally and its features architecturally.

Tasks: In a doc folder, explain the Read and Write flow and interception points such as Security, Tracing and Logging). It should use a common naming convention. A glossary might be needed. It should delineate if else logic in how each part of the flow works that is pertinent to the outcome. It can have links to code if its pertinent later. It should be written for architectural analysis and not as a how to use perspective.

DOD ( Definition of done):

jirenius commented 6 years ago

Currently I will create a new /docs folder containing:

To describe the flows in the res-protocol.md, sequence diagrams might be used for visual aid. For the conditional logic, one can use "alternatives": https://stackoverflow.com/questions/8114770/how-to-show-if-condition-on-a-sequence-diagram

jirenius commented 6 years ago

Solved in https://github.com/jirenius/resgate/pull/28 Gateway flow sequence diagrams not linked to from README, but available under /docs folder.