> For the complete documentation index, see [llms.txt](https://docs.codebattles.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codebattles.ru/en_v3/how-the-system-works/arkhitektura.md).

# Architecture

<div data-full-width="false"><figure><img src="/files/2TMsBtK7EDFAEEDRJOsU" alt=""><figcaption></figcaption></figure></div>

*<mark style="color:purple;">**Gateway**</mark>* - Nginx for distributing requests to multiple servers

*<mark style="color:blue;">**PostgeSQL**</mark>* - database (...)

*<mark style="color:purple;">Frontend</mark>* - For the interface Nginx (JS, React)

*<mark style="color:orange;">Backend</mark>* - API (Kotlin, Spring)

*<mark style="color:blue;">**\*\*\*\* checker**</mark>* - service for checking tasks in the required language (Java, Javalin)
