# Arquitetura de Pastas (MVC)

<figure><img src="/files/1DHjU77CEz6mi4w5E1ou" alt=""><figcaption></figcaption></figure>

A pasta raiz `/src` serve como o núcleo central, onde a lógica HTTP divide-se em `Controllers` para as rotas e `Models` para a lógica de dados. O `Server File` é o ponto de entrada da aplicação. Em `db`, temos `Connection` para os conectores do banco de dados e `Migrations` para scripts de atualização. `Tests` é dedicada a testes automatizados. Por fim, `deploy` contém ferramentas e scripts para implantar a aplicação em diferentes ambientes.


---

# 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://adspacheco.gitbook.io/space-center/boas-praticas/arquitetura-de-pastas-mvc.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.
