feat: implement complete CMT backend with API endpoints and test suite

- Add 7 core API endpoints: users, transactions, partners, products, inventory, payments, credit
- Implement role-based authentication (admin/write/read-only access)
- Add comprehensive database models with proper relationships
- Include full test coverage for all endpoints and business logic
- Set up Alembic migrations and Docker configuration
- Configure FastAPI app with CORS and database integration
This commit is contained in:
2025-09-14 21:04:07 +02:00
parent 49c813778b
commit c086f64363
48 changed files with 6992 additions and 126 deletions
+26
View File
@@ -0,0 +1,26 @@
# Environment files
.env
.env.*
.env.local
.env.production
.env.development
.env.staging
.env.example
# Security files
*.key
*.pem
*.p12
*.pfx
secrets/
**/*.secret
**/*.token
# Database files
*.db
*.sqlite
*.sqlite3
# Configuration with sensitive data
config/database.yml
config/secrets.yml