# Architecture

### Architecture Diagram <a href="#architecture-diagram" id="architecture-diagram"></a>

![](/files/2UYVbn67tINXsC1HXsFc)

<div data-full-width="true"><img src="/files/Zg4dRnwivyDo2Z4fIGuj" alt=""></div>

The above architecture Diagram shows, How we are integrating the discussion forum with sunbird-portal/Mobile app along with notification service. Once the request fired we are validating the request and the forwarded to DMW for there to Nodebb service. There are some action where we need to notify the users, For that we are integrated notification service. The actions are listed below.

* On Topic creation.
* On Topic reply.
* On Topic/Post upvote or downvote.

#### Code Structure

* [Repository](/use/developer-guide/discussion-forum/developer-installation/source-code.md)
* Important Folder / Package structure

  <pre><code><strong>- projects
  </strong>	- discussion-ui: 
  	- src: 
  </code></pre>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/discussion-forum/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
