api/app
Yoga Pangestu 7bbe4e7295 Implement subscription, tenant, and user services with CRUD operations and associated tests
- Added subscription_service.py for managing subscriptions with functions to create, read, update, and delete subscriptions.
- Added tenant_service.py for managing tenants with functions to create, read, update, delete tenants, and assign users to tenants.
- Added user_service.py for managing users with functions to create, read, update, and delete users.
- Created tests for business types, plans, subscriptions, tenants, and users, ensuring proper functionality and error handling.
- Implemented pagination in user listing and included user profiles in responses.
- Established fixtures for database setup and teardown in tests.
2026-07-17 23:36:31 +07:00
..
factories Add factories and seeders for business types, plans, subscriptions, tenants, and users 2026-07-17 23:15:05 +07:00
models Add models and schemas for users, tenants, subscriptions, plans, and business types 2026-07-17 21:24:55 +07:00
routers Implement subscription, tenant, and user services with CRUD operations and associated tests 2026-07-17 23:36:31 +07:00
schemas Implement subscription, tenant, and user services with CRUD operations and associated tests 2026-07-17 23:36:31 +07:00
seeders Refactor database seeder to improve error handling and maintainability 2026-07-17 23:22:09 +07:00
services Implement subscription, tenant, and user services with CRUD operations and associated tests 2026-07-17 23:36:31 +07:00
__init__.py Add configuration and database setup for Profitra API 2026-07-17 21:06:13 +07:00
config.py Fix database URL construction to properly encode the password 2026-07-17 22:01:10 +07:00
database.py Add configuration and database setup for Profitra API 2026-07-17 21:06:13 +07:00
responses.py Add response utility functions and HTTP exception handler to improve API responses 2026-07-17 22:11:25 +07:00
security.py Add password hashing and verification functions using bcrypt 2026-07-17 23:15:11 +07:00