Skip to main content

DAMS (Mariva) için ürün teklifi modülü — ürünlere teklif/fiyat önerisi gönderme.

Project description

dams-offers

DAMS (Mariva) platformu için Ürün Teklifi modülü. Site ziyaretçileri bir ürüne fiyat teklifi / teklif talebi gönderir; yöneticiler bu teklifleri DAMS yönetim panelinde (otomatik Generic CRUD) yönetir.

Bu paket standalone'dur: çekirdek DAMS koduna sabit bağımlılığı yoktur, ürünlere gevşek product_id referansıyla bağlanır ve host olmadan test edilebilir.

Yetenekler

  • Public teklif gönderimi: POST /api/offers/submit/ (auth gerektirmez, honeypot + throttle + KVKK onayı)
  • Otomatik back-office: setup_dams --update sonrası panelde Ürün Teklifleri
  • Sağlık/meta: GET /api/offers/meta/

Kurulum (host DAMS projesinde)

pip install dams-offers
python manage.py prepare_module_package --key offers
python manage.py migrate
python manage.py setup_dams --update
# uygulama sürecini yeniden başlat

Geliştirme

pip install -e ".[dev]"
ruff check . && mypy src && pytest

Mimari

Katmanlı (Clean Architecture): domain (enum/kurallar) · application (use-case servisleri + portlar) · api (DRF serializer/view/url) · models (ORM entity). İş mantığı serviste, view incedir (SRP).

Dağıtım adı: dams-offers · Python paketi: dams_offers · DAMS modül anahtarı: offers.

Lisans: MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dams_offers-0.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dams_offers-0.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file dams_offers-0.1.0.tar.gz.

File metadata

  • Download URL: dams_offers-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for dams_offers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52ad78bbcd06847650719da73bcdc37e212c296b7490d633b14d2274ff5ee168
MD5 bfea9f1ce97e542c943856cf1b23a173
BLAKE2b-256 33e68a436d511a23075fd51807b137d4f7f8d9df7c9e00502aa6d815bd3d4224

See more details on using hashes here.

File details

Details for the file dams_offers-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dams_offers-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for dams_offers-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73505b4f0bcaa39a4d4b5dbe14380feec98955e1e605bcf7b84a162557c90eaa
MD5 38ff776310427387ccdb91d7c8335726
BLAKE2b-256 1ee75b9e01f104c00c2593eb21f093d9caa4bc41bb51f96364103a739860758d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page