Файлова структура проекту
Всі класифікатори та селекти зберігаються у відповідному GIT проєкті в папці cls
.
Типова структура проекту GIT - Edra
assets
├── image # Зображення
├── style # Стилі
├── js # Скрипти
└── font # Шрифти
docs # Документація MD
├── docs
│ └── index.md # Стартова сторінка документації
├── mkdocs.yml # файл налаштувань для побудови документації
├── openapi.yaml # open api docs
└── postman.json # postman docs
MODULE1 # Модуль 1
├── vue # VUE компоненти
├── controllers # API
├── templates
│ ├── cls # Системні класифікатори sql/json
│ ├── form # Форми json
│ ├── interface # Інтерфейси адмін частини html
│ ├── pt # Шаблони
│ ├── siteTemplate # Шаблони сторінок сайту html
│ └── table # Таблиці json
├── index.js # Планувальники
├── route.yml # Опис API
└── route.js # router API
README.md # опис проекту
CHANGELOG.md # change log
LICENSE # ліцензія
.gitlab-ci.yml # ci/cd pipeline
.gitignore # git ignore path
Let’s have a look at what these files are:
assets
: Where you write and include your static frontend assets.manifest.yml
: Describes your app. It contains the name and ID of your app, along with the modules it uses. This app displays a content byline app on all Confluence pages and has a resource that provides the content of your custom UI for the app.package.json
: The app’s Node.js metadata. See the Node documentationfor more information.README.md
: Information about the app. We recommend updating this as you change the behavior of the app.
Cтруктура серверу - проект NODE
├── config # налаштування
│ ├── configServer.json # основні налаштування сервера
│ └── db # налаштування підключення
│
├── docs # Документація GIS сервера
├── node_modules # пакети розширення node.js
├── script # скріпити що викликаються npm run
│── test # unit test
│── service # стартовий модуль
├── log # логи сервера по категоріям
│
├── module # підсистеми Сервера
│ ├── core # базові функції
│ ├── gis # ГІС функції
│ └── web # сторінки сайту
│
├── changelog.md
├── index.js # запуск програми
├── package.json # файли конфігурація
└── README.md # опис сервера
Cтруктура Root категорії програми
├── cdn # деякі статичні файли
├── nginx # налаштування nginx
├── pgsql # база даних postgres
│ ├── data # кластер 5432
│ └── data_5433 # кластер 5433 за потреби
├── s3 # сховище даних S3
├── server
│ ├── node # Ядро системи
│ └── project1 # Проект
└── work
└── geo/project1 # Дані користувача