2026-01-12T14:10:33: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:33: 📊 Testing database connection...
2026-01-12T14:10:33: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:33: ✅ Firebase initialized with credentials file
2026-01-12T14:10:33: 📁 Ensuring upload directory exists...
2026-01-12T14:10:35: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:35: 📊 Testing database connection...
2026-01-12T14:10:35: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:35: ✅ Firebase initialized with credentials file
2026-01-12T14:10:35: 📁 Ensuring upload directory exists...
2026-01-12T14:10:37: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:37: 📊 Testing database connection...
2026-01-12T14:10:37: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:37: ✅ Firebase initialized with credentials file
2026-01-12T14:10:37: 📁 Ensuring upload directory exists...
2026-01-12T14:10:39: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:39: 📊 Testing database connection...
2026-01-12T14:10:39: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:39: ✅ Firebase initialized with credentials file
2026-01-12T14:10:39: 📁 Ensuring upload directory exists...
2026-01-12T14:10:42: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:42: 📊 Testing database connection...
2026-01-12T14:10:42: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:42: ✅ Firebase initialized with credentials file
2026-01-12T14:10:42: 📁 Ensuring upload directory exists...
2026-01-12T14:10:44: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:44: 📊 Testing database connection...
2026-01-12T14:10:44: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:44: ✅ Firebase initialized with credentials file
2026-01-12T14:10:44: 📁 Ensuring upload directory exists...
2026-01-12T14:10:46: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:46: 📊 Testing database connection...
2026-01-12T14:10:46: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:46: ✅ Firebase initialized with credentials file
2026-01-12T14:10:46: 📁 Ensuring upload directory exists...
2026-01-12T14:10:48: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:48: 📊 Testing database connection...
2026-01-12T14:10:48: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:49: ✅ Firebase initialized with credentials file
2026-01-12T14:10:49: 📁 Ensuring upload directory exists...
2026-01-12T14:10:51: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:51: 📊 Testing database connection...
2026-01-12T14:10:51: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:51: ✅ Firebase initialized with credentials file
2026-01-12T14:10:51: 📁 Ensuring upload directory exists...
2026-01-12T14:10:53: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:53: 📊 Testing database connection...
2026-01-12T14:10:53: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:53: ✅ Firebase initialized with credentials file
2026-01-12T14:10:53: 📁 Ensuring upload directory exists...
2026-01-12T14:10:55: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:55: 📊 Testing database connection...
2026-01-12T14:10:55: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:55: ✅ Firebase initialized with credentials file
2026-01-12T14:10:55: 📁 Ensuring upload directory exists...
2026-01-12T14:10:57: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:10:57: 📊 Testing database connection...
2026-01-12T14:10:57: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:10:57: ✅ Firebase initialized with credentials file
2026-01-12T14:10:57: 📁 Ensuring upload directory exists...
2026-01-12T14:11:20: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:11:20: 📊 Testing database connection...
2026-01-12T14:11:20: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:11:20: ✅ Firebase initialized with credentials file
2026-01-12T14:11:20: 📁 Ensuring upload directory exists...
2026-01-12T14:11:20: 
✅ Server started successfully!

2026-01-12T14:11:20: 📍 Server: http://localhost:3001
2026-01-12T14:11:20: 📍 API: http://localhost:3001/api/v1
2026-01-12T14:11:20: 📍 Health: http://localhost:3001/api/v1/health
2026-01-12T14:11:20: 📍 Uploads: http://localhost:3001/uploads
2026-01-12T14:11:20: 
🌍 Environment: production
2026-01-12T14:11:20: ⏰ Started at: 1/12/2026, 2:11:20 PM

2026-01-12T14:11:25: ::1 - - [12/Jan/2026:08:11:25 +0000] "GET / HTTP/1.1" 200 126 "-" "Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.6456"
2026-01-12T14:17:07: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "Test",
    "body": "Test message"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T14:17:08: ✅ Successfully sent topic notification: projects/nandailseba/messages/1976736049657164202
2026-01-12T14:17:08: ::1 - - [12/Jan/2026:08:17:08 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "-" "Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.6456"
2026-01-12T14:26:42: ::1 - - [12/Jan/2026:08:26:42 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:26:47: ::1 - - [12/Jan/2026:08:26:47 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:30:48: ::1 - - [12/Jan/2026:08:30:48 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:31:59: ::1 - - [12/Jan/2026:08:31:59 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:33:23: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:33:23: 📊 Testing database connection...
2026-01-12T14:33:23: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:33:23: ✅ Firebase initialized with credentials file
2026-01-12T14:33:23: 📁 Ensuring upload directory exists...
2026-01-12T14:33:23: 
✅ Server started successfully!

2026-01-12T14:33:23: 📍 Server: http://localhost:3001
2026-01-12T14:33:23: 📍 API: http://localhost:3001/api/v1
2026-01-12T14:33:23: 📍 Health: http://localhost:3001/api/v1/health
2026-01-12T14:33:23: 📍 Uploads: http://localhost:3001/uploads
2026-01-12T14:33:23: 
🌍 Environment: production
2026-01-12T14:33:23: ⏰ Started at: 1/12/2026, 2:33:23 PM

2026-01-12T14:38:09: ::1 - - [12/Jan/2026:08:38:09 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:38:12: ::1 - - [12/Jan/2026:08:38:12 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:38:15: ::1 - - [12/Jan/2026:08:38:15 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:40:25: 🚀 Starting Nandail Seba Backend API...

2026-01-12T14:40:25: 📊 Testing database connection...
2026-01-12T14:40:25: 🔥 Initializing Firebase Admin SDK...
2026-01-12T14:40:26: ✅ Firebase initialized with credentials file
2026-01-12T14:40:26: 📁 Ensuring upload directory exists...
2026-01-12T14:40:26: 
✅ Server started successfully!

2026-01-12T14:40:26: 📍 Server: http://localhost:3001
2026-01-12T14:40:26: 📍 API: http://localhost:3001/api/v1
2026-01-12T14:40:26: 📍 Health: http://localhost:3001/api/v1/health
2026-01-12T14:40:26: 📍 Uploads: http://localhost:3001/uploads
2026-01-12T14:40:26: 
🌍 Environment: production
2026-01-12T14:40:26: ⏰ Started at: 1/12/2026, 2:40:26 PM

2026-01-12T14:41:40: ::1 - - [12/Jan/2026:08:41:40 +0000] "GET /api/v1/health HTTP/1.1" 200 110 "-" "Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.6456"
2026-01-12T14:42:44: ::1 - - [12/Jan/2026:08:42:44 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:43:06: ::1 - - [12/Jan/2026:08:43:06 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:46:43: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "Test from PowerShell",
    "body": "Testing direct API"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T14:46:44: ✅ Successfully sent topic notification: projects/nandailseba/messages/1202613894836168371
2026-01-12T14:46:44: ::1 - - [12/Jan/2026:08:46:44 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "-" "Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.6456"
2026-01-12T14:48:30: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "fgfgfgfgfgf",
    "body": "gfgfgfgfgf",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T14:48:31: ✅ Successfully sent topic notification: projects/nandailseba/messages/2746729599151896389
2026-01-12T14:48:31: ::1 - - [12/Jan/2026:08:48:31 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T14:56:45: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "fgfgfggf",
    "body": "fgfgfgfgff",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T14:56:45: ✅ Successfully sent topic notification: projects/nandailseba/messages/8729933822586648839
2026-01-12T14:56:45: ::1 - - [12/Jan/2026:08:56:45 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T15:28:15: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "ggggggggg",
    "body": "fgfgfgfggffgfg",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T15:28:15: ✅ Successfully sent topic notification: projects/nandailseba/messages/3620021041703319430
2026-01-12T15:28:15: ::1 - - [12/Jan/2026:09:28:15 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T15:51:07: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "gfgfgf",
    "body": "dfdfdfd",
    "imageUrl": "fdfdfdfd",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T15:51:08: ✅ Successfully sent topic notification: projects/nandailseba/messages/6352249092733164394
2026-01-12T15:51:08: ::1 - - [12/Jan/2026:09:51:08 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T23:25:44: ::1 - - [12/Jan/2026:17:25:44 +0000] "POST /v1/notifications/send HTTP/1.1" 404 67 "http://localhost:3000/notifications" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T23:26:20: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "হহহহহহ",
    "body": "জ্জজ্জজ্জজ",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T23:26:21: ✅ Successfully sent topic notification: projects/nandailseba/messages/5165687891407393327
2026-01-12T23:26:21: ::1 - - [12/Jan/2026:17:26:21 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-12T23:27:26: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "ঝঝঝজ",
    "body": "্জজ্ঝহঝঝ",
    "imageUrl": "https://api.nandail.xyz/app_uploads/1768238844_organic-slider1.jpg",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-12T23:27:27: ✅ Successfully sent topic notification: projects/nandailseba/messages/6704004667230351398
2026-01-12T23:27:27: ::1 - - [12/Jan/2026:17:27:27 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2026-01-13T00:27:47: 📤 Sending data-only notification to topic 'all_users': {
  "data": {
    "title": "হহহহ",
    "body": "জ্জজ্জজ্জ",
    "type": "general",
    "targetType": "all",
    "userId": "",
    "orderId": "",
    "campaignId": "",
    "sellerId": "",
    "sendToVendors": "false"
  },
  "topic": "all_users",
  "android": {
    "priority": "high"
  }
}
2026-01-13T00:27:48: ✅ Successfully sent topic notification: projects/nandailseba/messages/3586338338392982041
2026-01-13T00:27:48: ::1 - - [12/Jan/2026:18:27:48 +0000] "POST /api/v1/notifications/send HTTP/1.1" 200 109 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
