tariffs/docs/server/README.md
2023-03-17 17:42:31 +00:00

15 lines
664 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Настройки сервера:
В папке `./src/constants` лежат два файла конфигурации:
- `configurations.ts`
- `default.ts`
**configurations.ts**
Хранит в себе конфигурации сервиса, загружаемые через `ENV`. В основном хранит в себе данные о подключении к БД и адреса прослушивания запросов сервером.
**default.ts**
Хранит в себе стандартные значения и настройки подключаемых модулей, такие как: `fastify`, `swagger`.