Initial commit - Diabetic Dost

This commit is contained in:
Sanika Gurav
2026-10-13 11:10:56 +05:30
commit 94d8257a6a
121 changed files with 21596 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import sys
from pathlib import Path
# Add the project root to sys.path so we can import backend
project_root = Path(r"e:\Diabetes_Dost\Project_1-main\backend")
sys.path.append(str(project_root))
# pyrefly: ignore [missing-import]
from report.whatsapp_service import GLOBAL_WHATSAPP_SERVICE
print("Testing WhatsApp Delivery...")
print(f"Is Twilio Configured? {GLOBAL_WHATSAPP_SERVICE.is_twilio_configured}")
# Sending a test message
response = GLOBAL_WHATSAPP_SERVICE.send_followup_reminder(
phone_number="+918698653015",
patient_name="Test User",
session_id="test_123",
template_key="followup_appointment",
language="mr"
)
print("\nResponse from Twilio:")
print(response)