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.1.tar.gz (13.1 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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dams_offers-0.1.1.tar.gz
  • Upload date:
  • Size: 13.1 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.1.tar.gz
Algorithm Hash digest
SHA256 a1afa8598d60f4b91cd0e06e91f5fac381e1042ef7919c3b3a1a26d2d7f64078
MD5 19cdacabce3a6c35416c7ad64a989139
BLAKE2b-256 6830c32185981430ceab81cf641c560b3dbd855eb893f23e7b78eca4dcd03adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dams_offers-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c670649afad0a9a9782a56d4be239c8251ba9919b81a12079bd3cb08061205e
MD5 3bdcc94dd796e1a5582e872cfbf35914
BLAKE2b-256 5a631c8af9848da75abef59c4a35006cdc8a1adeedb63617f46e88ddf610e3eb

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