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.2.0.tar.gz (14.4 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.2.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dams_offers-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 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.2.0.tar.gz
Algorithm Hash digest
SHA256 337d6cb1ec4cab8eb30b8e86d1ad07bd38c48b88f6f65ae31e617caea2ac0fa1
MD5 774a80a11ce74b92266e628b08214870
BLAKE2b-256 e4b48aa36533954aa0acefe7c52052df5f83aa7c2f817ab0a691252e595e559d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dams_offers-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0760eb1f00dbdcc643e03cdf273fd856aa0aecf2a8e393b620c52442ee1244f
MD5 d758cb82acf1bf8581052c3045ab83a9
BLAKE2b-256 d6d8a0937b78aff8b3d24369362868a585d4e078e278be58057f6516ca3d9b8f

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