Skip to content

Service Integration Diagram for Social Web Demo #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
Tracked by #2
p5150j opened this issue Mar 14, 2024 · 5 comments
Closed
4 tasks done
Tracked by #2

Service Integration Diagram for Social Web Demo #4

p5150j opened this issue Mar 14, 2024 · 5 comments
Assignees

Comments

@p5150j
Copy link
Collaborator

p5150j commented Mar 14, 2024

Task: Service Integration Diagram for Social Web Demo

Objective: Create a comprehensive diagram illustrating the integration between existing services and the social web demo components. This diagram should clearly delineate which services interact with specific parts of the social web demo, including both the backend and frontend components.

Resources:

Steps:

  1. Review Prototypes: Examine the current implementations of the gateway template app backend and frontend. Identify functionalities that are candidates for service-based replacements.
  2. Identify Integrations: For each part of the social web demo (e.g., content posting, feed display, auth etc), determine which existing service (if any) should replace or enhance its functionality. Pay particular attention to:
    • How the Content Watcher and Content Publishing Services can replace or augment the current method of posting content and displaying feeds.
    • Potential interactions between the Graph Service, Reconnection Service, and other components of the demo.
  3. Diagram Creation: Using the information gathered, create a detailed diagram that:
    • Shows which services interact with specific parts of the social web demo.
    • Highlights the flow of data between services and components.
    • Includes placeholders for services that need to be developed or don't yet exist, indicating their anticipated connections and functionalities.
    • Includes placeholders for features currently missing from the gateway template app that would be necessary or desirable for a complete 'social web' app
  4. Gap Analysis: Identify functionalities in the social web demo that are not yet covered by existing services. Suggest new services (e.g., a Session Service) that need to be developed to fill these gaps, including a brief description of their intended functionality.

Acceptance Criteria:

  • A detailed integration diagram is delivered, clearly illustrating how each part of the social web demo interacts with the existing services and indicating the flow of data.
  • The diagram includes indications of where new services are needed, with suggested names and functionalities.
  • All components of both the backend and frontend are accounted for in the diagram.
  • A written summary accompanies the diagram, explaining the key integration points and any recommendations for new services or user interfaces to be developed.
@p5150j p5150j changed the title a clear diagram of what services will talk to what parts of the social web demo Make a clear diagram of what services will talk to what parts of the social web demo Mar 15, 2024
@p5150j p5150j changed the title Make a clear diagram of what services will talk to what parts of the social web demo Service Integration Diagram for Social Web Demo Mar 15, 2024
@enddynayn
Copy link
Contributor

enddynayn commented Mar 27, 2024

How it works now:
Image

What is missing:
Image

Summary:
We are missing wiring up content publisher, graph service, and content watcher. This wiring may require adding the following endpoints:

  • v1/assets endpoint - upload assets
  • v1/webhooks/content - receive annoucements
  • v1/webhooks/graph - receive graph changes
  • /v1/content/{type}/{contentHash - Edit content
  • /v1/content/{dsnpId}/{contentHash} - Get details of a specific post

Additionally, we need to also create a simple feed service (not microservice) to generate a feed for a user. We are also missing an account service to facilitate interaction with the chain.

List of tickets for some of these items in more detail:

Additional diagrams:
https://whimsical.com/gateway-8dfo4hLYPFUgEeafK6zpwx

@p5150j
Copy link
Collaborator Author

p5150j commented Mar 27, 2024

@enddynayn

Thanks for making the updates!!

Looking at the AC:

  • ✅ A detailed integration diagram is delivered, clearly illustrating how each part of the social web demo interacts with the existing services and indicating the flow of data.

  • ✅ The diagram includes indications of where new services are needed, with suggested names and functionalities.
    All components of both the backend and frontend are accounted for in the diagram.

  • 🚫 A written summary accompanies the diagram, explaining the key integration points and any recommendations for new services or user interfaces to be developed.

Notes:
I see the new services or user interfaces to be developed in the "What is missing diagram" (session service, messaging service, feed handler etc ) but what I dont see is a written summary for anything that is "missing" to accompany them. For example: We need a messaging service whose key responsibility is x y and z, or we need a session service whose key responsibility is x y and z and it talks to q, r, s service

@enddynayn
Copy link
Contributor

enddynayn commented Mar 28, 2024

It's easy to miss here you go.

Summary:
We are missing wiring up content publisher, graph service, and content watcher. This wiring may require adding the following endpoints:

v1/assets endpoint - upload assets
v1/webhooks/content - receive annoucements
v1/webhooks/graph - receive graph changes
/v1/content/{type}/{contentHash - Edit content
/v1/content/{dsnpId}/{contentHash} - Get details of a specific post
Additionally, we need to also create a simple feed service (not microservice) to generate a feed for a user. We are also missing an account service to facilitate interaction with the chain.

@enddynayn
Copy link
Contributor

enddynayn commented Mar 28, 2024

I'll elaborate a little more.

We are missing:
Account Service - Currently under development to facilitate any chain interaction with creating an account.
Session Service/Auth - A service that follows best standards and integrates with SignInWithFrequency. This allows
developers not to worry about creating sessions and authentication.
Messaging Service - A service for allowing users to send direct messages.
Feed Handler - Not a service but logic that needs to be implemented once we integrate with content-watcher and content-publisher.

@p5150j
Copy link
Collaborator Author

p5150j commented Mar 28, 2024

Thanks @enddynayn

@p5150j p5150j closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants