feat: implement asynchronous webhook service with retries and add environment configuration

This commit is contained in:
2026-08-19 15:14:22 +05:30
parent ea49fe800f
commit 7bfb786e15
2 changed files with 72 additions and 25 deletions
+23
View File
@@ -0,0 +1,23 @@
# Server
PORT=8080
# Database
DATABASE_URL=postgres://postgres:postgres@localhost:5432/ai_pharmacy
# JWT Authentication
JWT_SECRET=your_jwt_secret_here
# OpenAI
OPENAI_API_KEY=your_openai_api_key_here
# AWS S3
S3_KEY=your_s3_access_key_here
S3_SECRET=your_s3_secret_key_here
S3_BUCKET=your_bucket_name
S3_REGION=us-east-1
S3_BASE_PATH=
S3_PUBLIC_BASE_PATH=
# Webhooks
WEBHOOK_SECRET=your_webhook_secret_here
WEBHOOK_URL=http://localhost:8081/webhooks/pharmacy