added-updated-apis #1

Merged
amit merged 4 commits from added-updated-apis into main 2026-09-11 12:06:50 +00:00
Member
No description provided.
urvish added 3 commits 2026-09-11 11:04:03 +00:00
7afa8e1913 feat(api): modularize admin services, add storefront plans, and support country in profile update
- Auth:
  - Add `country` field to `ProfileUpdateRequest` schema
  - Update `AuthService.update_profile` and `AuthRepository.update_profile` to persist country changes to `auth.app_users`

- Storefront Parity:
  - Add public `GET /api/plans` endpoint in `app/features/plans.py` with dual-currency pricing (INR/USD), feature badges, and module slugs
  - Mount plans router and add `GET /` root health status endpoint in `app/main.py`
  - Update CORS allowed origins for backoffice port 3001

- Admin Architecture & Endpoints:
  - Refactor monolithic admin service into domain-driven sub-services under `app/features/admin/services/` (modules, plans, coupons, customers, payments, database, reports)
  - Retain backwards-compatible `AdminService` facade in `services/__init__.py`
  - Add full endpoint parity in `app/features/admin/api.py` for customer 360 drawer, streaming CSV reports, live DB stats, dump downloads, and HTML invoice preview
  - Add `created_at` timestamp to `AdminUserListResponse` and validation schemas in `app/features/admin/schema.py`
urvish added 1 commit 2026-09-11 11:34:52 +00:00
amit approved these changes 2026-09-11 12:06:46 +00:00
amit left a comment
Owner

LGTM

LGTM
amit merged commit 71732a5c26 into main 2026-09-11 12:06:50 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AcuPedia/acupedia-api#1
No description provided.