Ubuntu
|
b60d03142c
|
feat: Phase 1+2 - JWT auth, dashboard metrics API, DB indexes
Phase 1 - JWT Auth Foundation:
- Replace token auth with djangorestframework-simplejwt
- POST /api/v1/admin/auth/login/ - returns access + refresh JWT
- POST /api/v1/auth/refresh/ - JWT refresh
- GET /api/v1/auth/me/ - current admin profile
- GET /api/v1/health/ - DB health check
- Add ledger app to INSTALLED_APPS
Phase 2 - Dashboard Metrics API:
- GET /api/v1/dashboard/metrics/ - revenue, partners, events, tickets
- GET /api/v1/dashboard/revenue/ - 7-day revenue vs payouts chart data
- GET /api/v1/dashboard/activity/ - last 10 platform events feed
- GET /api/v1/dashboard/actions/ - KYC queue, flagged events, pending payouts
DB Indexes (dashboard query optimisation):
- RazorpayTransaction: status, captured_at
- Partner: status, kyc_compliance_status
- Event: event_status, start_date, created_date
- Booking: created_date
- PaymentTransaction: payment_type, payment_transaction_status, payment_transaction_date
Infra:
- Add Dockerfile for eventify-backend container
- Add simplejwt to requirements.txt
- All 4 dashboard views use IsAuthenticated permission class
|
2026-03-24 17:46:41 +00:00 |
|
Ubuntu
|
37001f8e70
|
feat: add JWT auth foundation - /api/v1/ with admin login, refresh, me, health endpoints
- Add djangorestframework-simplejwt==5.3.1 to requirements-docker.txt
- Configure REST_FRAMEWORK with JWTAuthentication and SIMPLE_JWT settings
- Create admin_api Django app with AdminLoginView, MeView, HealthView
- Wire /api/v1/ routes without touching existing /api/ mobile endpoints
- Resolve pre-existing events migration conflict (0010_merge)
- Superuser admin created for initial authentication
|
2026-03-24 14:46:03 +00:00 |
|
Vivek P Prakash
|
c04395afc9
|
The new updates of partners and user
Made-with: Cursor
|
2026-03-15 00:29:17 +05:30 |
|
Vivek
|
c43ea6b0c7
|
Update in the cor headers
|
2025-12-25 02:42:10 +05:30 |
|
Vivek
|
d1e618e06b
|
Fixes for the icon in the eventtypes
|
2025-12-20 02:28:15 +05:30 |
|
Vivek
|
5e4a1765de
|
Update in the cors allowed origins
|
2025-12-20 01:37:36 +05:30 |
|
Vivek
|
689cedb3ff
|
Update in the settings for the cors allowed origins
|
2025-12-19 21:48:51 +05:30 |
|
Vivek
|
d109df3973
|
Updates for the api and bug fixes
|
2025-12-19 19:35:38 +05:30 |
|
Vivek
|
105da4a876
|
Reverting back to admin pages as login and updates in the mobile api
|
2025-12-17 22:05:13 +05:30 |
|
Vivek
|
24355ecdf5
|
The updates for the customer dashboard cum accounts
|
2025-12-09 03:59:57 +05:30 |
|
Vivek P Prakash
|
08a89a1212
|
Test for the uat db
|
2025-12-02 13:40:59 +05:30 |
|
Vivek P Prakash
|
d96ba46506
|
Updates for the event images
|
2025-12-01 04:52:49 +05:30 |
|
Vivek P Prakash
|
c4d7d4f6bf
|
Solving the issues in the login and others
|
2025-11-28 16:03:23 +05:30 |
|
Vivek P Prakash
|
fabd36cf3f
|
Changes in the settings for the deployment
|
2025-11-28 03:30:38 +05:30 |
|
Vivek P Prakash
|
d3cc7eb47e
|
Second updates
|
2025-11-28 03:11:38 +05:30 |
|
Vivek P Prakash
|
aa40080012
|
Initials
|
2025-11-27 11:53:46 +05:30 |
|