[34588f42] Feat: Freigabe-Anfrage mit Gutschein-Webhook integriert
- Datenbank um 'DiscountCode' Modell erweitert.
- Neue Backend API-Routen für Upload von Gutscheincodes, Abfrage der Verfügbarkeit und Webhook-Listener (Google Forms) zur automatischen Dankes-E-Mail erstellt.
- Frontend (App.tsx) um ein neues Tool ('Anfrage Veröffentlichung') erweitert, das anhand der CSV-Daten Platzhalter (<Name>, <Kind>, <Kindergarten>) personalisiert und Mails via Gmail versendet.
- Google Forms Webhook Script (google_forms_webhook.js) als Kopiervorlage erstellt.
This commit is contained in:
@@ -87,7 +87,10 @@ load_dotenv()
|
||||
# Ensure DB is created
|
||||
Base.metadata.create_all(bind=engine)
|
||||
|
||||
import publish_request_api
|
||||
|
||||
app = FastAPI(title="Fotograf.de Scraper & ERP API")
|
||||
app.include_router(publish_request_api.router)
|
||||
|
||||
# Configure CORS
|
||||
app.add_middleware(
|
||||
|
||||
Reference in New Issue
Block a user