Commit Graph

3 Commits

Author SHA1 Message Date
Yoga Pangestu
4fa2db2a3c Update user status default to INACTIVE, add email verification check in login, and set email_verified_at for admin user in seeder 2026-07-19 23:57:43 +07:00
Yoga Pangestu
4458d352a2 Add authentication endpoints and JWT handling for user login 2026-07-19 23:51:50 +07:00
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