docs: add bilingual READMEs for top-level directories
This commit is contained in:
1 parent
e9f56a6aa2
commit
70f96adf26
29 files changed
+401
-8
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# Go backend
|
||||
|
||||
[Русский](README.md) | English
|
||||
|
||||
The main service uses Go, chi, and Clean Architecture. It currently provides health checks and PostgreSQL, Redis, and SeaweedFS adapters; hiring workflows are still to be implemented.
|
||||
|
||||
- `cmd/app/` is the entry point; `internal/bootstrap/` wires dependencies and manages startup.
|
||||
- `internal/` contains domain types, use cases, ports, and primary/secondary adapters.
|
||||
- `config/` holds application settings; `pkg/` is for shared helper packages.
|
||||
- `db/` and `codegen/` hold SQL queries, migrations, and generator configuration.
|
||||
- `integration_test/` checks real dependencies through Testcontainers.
|
||||
|
||||
From the repository root, `make -C backend check` runs the main checks and `make -C backend test-int` runs integration tests with Docker. Use `make -C backend help` for all commands.
|
||||
|
||||
See [architecture](../docs/en/ARCHITECTURE.md) and [development](../docs/en/DEVELOPMENT.md).
|
||||
@@ -0,0 +1,15 @@
|
||||
# Go backend
|
||||
|
||||
Русский | [English](README.en.md)
|
||||
|
||||
Основной сервис на Go и chi с Clean Architecture. Сейчас реализованы проверки состояния, адаптеры PostgreSQL, Redis и SeaweedFS; продуктовые сценарии найма еще предстоит добавить.
|
||||
|
||||
- `cmd/app/` - точка входа; `internal/bootstrap/` собирает зависимости и управляет запуском.
|
||||
- `internal/` - доменные типы, use case, порты и primary/secondary адаптеры.
|
||||
- `config/` - настройки приложения; `pkg/` - общие вспомогательные пакеты.
|
||||
- `db/` и `codegen/` - SQL-запросы, миграции и настройки генераторов.
|
||||
- `integration_test/` - проверки с настоящими зависимостями через Testcontainers.
|
||||
|
||||
Из корня: `make -C backend check` запускает основные проверки, `make -C backend test-int` - интеграционные тесты с Docker. Все команды доступны через `make -C backend help`.
|
||||
|
||||
Подробнее: [архитектура](../docs/ru/ARCHITECTURE.md) и [разработка](../docs/ru/DEVELOPMENT.md).
|
||||
Reference in new issue
Block a user