# Best Practices

## Best Practices

- [Introduction](https://thekarel.gitbook.io/best-practices/master.md)
- [Principles](https://thekarel.gitbook.io/best-practices/the-big-picture/principles.md)
- [Software engineers solve business problems](https://thekarel.gitbook.io/best-practices/the-big-picture/principles/business.md)
- [Programming is a social activity](https://thekarel.gitbook.io/best-practices/the-big-picture/principles/social.md)
- [Attention is the most precious resource in a project](https://thekarel.gitbook.io/best-practices/the-big-picture/principles/attention.md)
- [Simplicity is the best ally in the long run](https://thekarel.gitbook.io/best-practices/the-big-picture/principles/simple.md)
- [The only problem to solve is the one we have today](https://thekarel.gitbook.io/best-practices/the-big-picture/principles/today.md)
- [Architecture](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture.md)
- [Domain](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture/domain.md)
- [Services](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture/services.md)
- [Persistence](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture/persistence.md)
- [HTTP](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture/http.md)
- [UI](https://thekarel.gitbook.io/best-practices/the-big-picture/architecture/ui.md)
- [Naming](https://thekarel.gitbook.io/best-practices/the-big-picture/naming.md)
- [TypeScript](https://thekarel.gitbook.io/best-practices/constraints/typescript.md)
- [Monorepo](https://thekarel.gitbook.io/best-practices/constraints/monorepo.md)
- [Monolith](https://thekarel.gitbook.io/best-practices/constraints/monolith.md)
- [Versioning](https://thekarel.gitbook.io/best-practices/constraints/versioning.md)
- [Declarative programming](https://thekarel.gitbook.io/best-practices/source-code/declarative.md)
- [The README](https://thekarel.gitbook.io/best-practices/source-code/thereadme.md)
- [Modules](https://thekarel.gitbook.io/best-practices/source-code/modules.md)
- [Folder structure](https://thekarel.gitbook.io/best-practices/source-code/folderstructure.md)
- [Code formatting](https://thekarel.gitbook.io/best-practices/source-code/codeformatting.md)
- [Code comments](https://thekarel.gitbook.io/best-practices/source-code/comments.md)
- [Runtime configuration](https://thekarel.gitbook.io/best-practices/the-outside-world/configuration.md)
- [Logging](https://thekarel.gitbook.io/best-practices/the-outside-world/logging.md)
- [The purpose of testing](https://thekarel.gitbook.io/best-practices/testing/purpose.md)
- [End-to-end tests](https://thekarel.gitbook.io/best-practices/testing/purpose/e2e.md)
- [Integration tests](https://thekarel.gitbook.io/best-practices/testing/purpose/integration.md)
- [Unit tests](https://thekarel.gitbook.io/best-practices/testing/purpose/unit.md)
- [Git](https://thekarel.gitbook.io/best-practices/tools/git.md)
- [Resources](https://thekarel.gitbook.io/best-practices/resources/resources.md)


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://thekarel.gitbook.io/best-practices/master.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.
