Über
Overview
We are looking for a senior-level Django backend developer to stabilize and harden an existing production module called Flower Shop Module.
This is not a greenfield build. The system already exists with partial implementations. Your job is to complete, fix, refactor, and harden 4 specific work streams.
The total estimated duration is 5 weeks.
This is a structured engagement with clearly defined scope and deliverables.
Tech Stack
Python 3.10
Django
Celery + Celery Beat
Redis / RabbitMQ
WooCommerce REST API + Webhooks
OpenAI API
PostgreSQL
Multi-tenant architecture
Production environment already deployed
You must be comfortable working in an existing codebase.
Scope of Work
The project is divided into 4 work streams.
Email Templates & Scheduled Reminder System (Week 1)
Current Issues
7 Celery Beat tasks are commented out
4 referenced email templates do not exist
Emails are sent per task instead of consolidated digest
Management commands use inline HTML
What You Will Do
Create and register 4 email templates via management command
Refactor reminder logic to send one consolidated digest per recipient
Enable and validate Celery Beat schedules
Align management commands with new template logic
Perform full end-to-end testing across tenants
Complexity: Low–Medium
Deliverable: Fully operational consolidated reminder system.
AI Task Generation Reliability (Week 2–Mid Week 3)
Current Issues
No retry logic for OpenAI API calls
Broad except Exception blocks
Fragile JSON parsing
No scheduled AI generation (manual only)
Weak fallback logic
What You Will Do
Implement retry logic with exponential backoff (e.g., tenacity)
Harden JSON parsing and structured error logging
Replace broad exception handling with specific exceptions
Improve date parsing validation
Add scheduled daily AI generation via Celery Beat
Improve context-aware fallback logic
Clarify weekly vs daily generation behavior
Complexity: Medium
Deliverable: Reliable AI generation service with retries, structured logging, and automation.
WooCommerce Product & Store Synchronization (Mid Week 3–Week 4)
Current Issues
Product webhook handlers are stubs (do nothing)
No store synchronization
Debug print statements in production
No retry/backoff logic
Webhook signature validation can be bypassed
What You Will Do
Implement product.created, product.updated, product.deleted webhook handlers
Sync WooCommerce products into local models
Build store sync service
Add retry/backoff and structured logging
Enforce webhook signature verification in production
Remove debug artifacts
Implement sync status logging
Integration testing with staging WooCommerce
Complexity: Medium–High
Deliverable: Fully working WooCommerce product + store sync with security enforcement.
Webhook Consolidation Architecture (Week 5)
Current Problem
Two separate WooCommerce order webhook endpoints exist:
Delivery module
Flower Shop module
WooCommerce only supports one endpoint per event topic.
Both endpoints validate signatures and parse payloads independently.
What You Will Do
Design and implement a shared WooCommerceWebhookService
Single signature verification
Payload parsing once
Fan-out routing to both modules
Expose single unified webhook endpoint
Deprecate old endpoints
Fix existing product_id NameError bug
Remove dead code
Full integration testing
Complexity: Medium–High
Deliverable: Unified, production-safe webhook architecture.
Requirements
You must:
Have strong experience with Django (5+ years preferred)
Have production experience with Celery + Celery Beat
Have experience integrating WooCommerce APIs & webhooks
Have experience with OpenAI API integrations
Understand webhook security (HMAC signature verification)
Write clean, production-quality logging
Be comfortable refactoring existing code
Write unit and integration tests
Provide documentation for architecture changes
Assumptions
WooCommerce staging environment will be provided
OPENAI_API_KEY and webhook secrets are configured
Email infrastructure already works
No DB schema redesign required
Out of Scope
New feature development
Frontend/UI redesign
Infrastructure changes (Docker, CI/CD)
WooCommerce plugin development
Major data model migrations
Deliverables
4 email templates registered via management command
Consolidated reminder email logic
Operational Celery Beat schedules
WooCommerce product webhook handlers
WooCommerce store sync service
Hardened AI task generation service
Scheduled AI generation
Unified webhook endpoint
Bug fixes and dead code removal
Unit + integration tests
Technical documentation
Project Timeline
Total: 5 Weeks
Week 1 – Email & Reminders
Week 2–3 – AI Reliability
Week 3–4 – WooCommerce Sync
Week 5 – Webhook Consolidation & Full Regression Testing
Contract duration of 1 to 3 months. with 30 hours per week.
Mandatory skills: Web Development, API Integration, Python
Sprachkenntnisse
- English
Hinweis für Nutzer
Dieses Stellenangebot stammt von einer Partnerplattform von TieTalent. Klicken Sie auf „Jetzt Bewerben“, um Ihre Bewerbung direkt auf deren Website einzureichen.