> For the complete documentation index, see [llms.txt](https://lern.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lern.sunbird.org/use/developer-guide/groups/architecture/code-flow.md).

# Code Flow

The below diagram represents the code flow of **Group** service.

<figure><img src="https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2FvbMzQZaHkcDK5fpF3avS%2FLMS-ServiceFlowDiagram-Group%20Code%20Flow.drawio.png?alt=media&amp;token=d0e23a0d-acd7-412b-9d87-676643efab5e" alt=""><figcaption><p>code flow</p></figcaption></figure>

<div data-full-width="true"><figure><img src="https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2FKyjmPUxYT4FdAfMQpSh4%2FGroupsFlowDiagram-Code%20Flow%20Diagram.drawio%20(4).png?alt=media&amp;token=837d426c-3aa2-46f5-aff0-dc8d4cc24227" alt=""><figcaption><p>Group Service Code Flow</p></figcaption></figure></div>

{% embed url="<https://youtu.be/pRsRcv_hs8E?list=PLUrm4D0K_7nxlaZZYirokpx5Mo-jMd64M&t=1550>" %}
Gropus Service Architecture and code flow.
{% endembed %}

### Repository

#### Group Service

{% embed url="<https://github.com/Sunbird-Lern/groups-service>" %}
Group Service
{% endembed %}

Group Service APIs

{% embed url="<https://lern.sunbird.org/learn/product-and-developer-guide/groups/apis>" %}
Group Service APIs
{% endembed %}

#### Group UI

{% embed url="<https://github.com/Sunbird-Ed/SunbirdEd-portal/tree/master/src/app/client/src/app/modules/groups>" %}
Group UI
{% endembed %}

[Code flow document - Compodoc](https://sunbird-ed.github.io/docs/portal/modules/GroupsModule.html)

The groups UI module is part of SunbirdEd portal. It can not be deployed or tested independently. For more detail find [here](https://ed.sunbird.org/use-1/source-code/workflows/portal/component-diagram#sunbird-portal-ui).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://lern.sunbird.org/use/developer-guide/groups/architecture/code-flow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
