refactor: centralize configuration in backend/config/ and frontend/config/

- Move ldap_config.json from ./data/ to backend/config/
- Update users.py to read LDAP config from backend/config/ldap_config.json
- Create frontend/config/ directory for future frontend configs
- DATA_DIR still used for database and runtime files in ./data/
- Update .gitignore to track backend/config/ but ignore runtime data dirs
This commit is contained in:
Daniel Bedeleanu
2026-04-11 15:06:56 +03:00
parent ac1703e6c2
commit 02a4951901
3 changed files with 11 additions and 4 deletions

3
.gitignore vendored
View File

@@ -1,5 +1,7 @@
backend/venv/
backend/data/
backend/logs/
frontend/logs/
__pycache__/
*.pyc
.env
@@ -7,4 +9,3 @@ __pycache__/
aInventory-PROD*
aInventory-PROD*.zip
logs/
backend/logs/