Commit Graph

5 Commits

Author SHA1 Message Date
Shayan Azadi
97127d5772 Keep a single README and remove extra markdown docs
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 17:32:04 +03:30
Shayan Azadi
50c9cf613f Add admin login API and remove hardcoded secrets
- Add token-based admin login/logout/me endpoints
- Bootstrap admin from ADMIN_USERNAME/ADMIN_PASSWORD in Docker entrypoint
- Read ALLOWED_HOSTS and CORS from env only (no hardcoded server IPs)
- Keep docs/Postman/tests free of real credentials
- Cover login and auth flows with 31 local API tests

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 17:29:47 +03:30
Shayan Azadi
7e71d922d3 Add multi-image compositions, docker setup, tests, and docs
- Add CompositionImage model with multi-image upload and main image flag
- Add composition endpoints: add-images, set-main-image, delete image, by-created-at filter
- Make contact-us by_category public
- Add 24 API tests covering all endpoints
- Add Dockerfile, docker-compose, entrypoint and docker docs
- Add Persian API docs and update README and Postman collection

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 13:43:34 +03:30
Shayan Azadi
cc2e082d53 fix: contact-us 405 - ALLOWED_HOSTS and CORS for production API 2026-02-21 12:31:40 +03:30
Shayan Azadi
3e100bae99 Initial commit: Django backend with Campaign, ContactUs, and Composition APIs 2025-12-17 15:58:07 +03:30