Commit Graph

10 Commits

Author SHA1 Message Date
Amit Salunke f7958d4c1e Added cleanup support 2026-09-11 19:32:07 +05:30
Urvish Prajapati ea729554c8 Merge origin/main and resolve conflict in app/main.py 2026-09-11 17:04:49 +05:30
Urvish Prajapati bcfbdc8442 fix(backup): fallback to docker container for pg_dump when not installed on host 2026-09-11 16:29:00 +05:30
Urvish Prajapati bbae243054 fix(invoices): serve custom Acupedia tax invoice template instead of Razorpay link 2026-09-11 16:11:05 +05:30
Urvish Prajapati 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`
2026-09-11 14:51:15 +05:30
Amit Salunke c76e56f3e4 Added nutrition data 2026-09-10 17:48:32 +05:30
Amit Salunke 702a40d7b6 Updated images 2026-09-08 20:09:07 +05:30
Amit Salunke 7bacda624c Added new api 2026-09-07 19:19:44 +05:30
Amit Salunke 60767dad12 initial commit 2026-09-06 21:07:37 +05:30
Amit Salunke b36b900c44 Init Api 2026-09-05 19:29:21 +05:30