Django 6 + DRF resource server against the Gooyal accounts OAuth2 service, matching the Winsoo ecosystem's conventions. Covers locations, stores, catalog, cart, checkout/orders (with the multi-store-cart split and the status stepper), reviews, and notifications, plus a demo-data seed command. Payment integration (wallet debits, online gateway, seller payouts) is intentionally left out here — see feature/payment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
527 B
YAML
23 lines
527 B
YAML
server:
|
|
http_listen_port: 9080
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: https://loki.winsoo.ir/loki/api/v1/push
|
|
|
|
scrape_configs:
|
|
- job_name: winofy-backend
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: winofy-backend
|
|
__path__: /var/log/django/*.log
|
|
pipeline_stages:
|
|
- regex:
|
|
expression: '^(?P<timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) (?P<level>\w+) (?P<message>.*)'
|
|
- labels:
|
|
level:
|