Spaces:
Running
Running
Ctrl+K
- 1.52 kB initial commit
- 215 Bytes <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AyurPulse - Ayurvedic Health Dashboard</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .pulse { animation: pulse 2s infinite; } .floating { animation: float 6s ease-in-out infinite; } .fade-in { animation: fadeIn 0.5s ease-out forwards; } .glass { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); } .dosha-gauge { height: 8px; border-radius: 4px; background-color: rgba(0, 0, 0, 0.1); } .gauge-fill { height: 100%; border-radius: 4px; transition: width 1s ease-in-out; } .health-glow { box-shadow: 0 0 15px rgba(22, 163, 74, 0.3); } .health-glow.warning { box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); } .ayurvedic-bg { background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(240, 253, 250, 0.9)), url('https://i.ibb.co/6mMQY2K/ayurvedic-bg.jpg') no-repeat center center fixed; background-size: cover; } </style> </head> <body class="min-h-screen flex flex-col items-center justify-center p-4 ayurvedic-bg"> <!-- Header --> <header class="w-full text-center mb-8 fade-in"> <div class="flex items-center justify-center gap-3"> <i class="fas fa-leaf text-green-600 text-4xl floating"></i> <h1 class="text-4xl font-bold text-green-900 drop-shadow-lg">AyurPulse</h1> <i class="fas fa-heartbeat text-red-500 text-4xl floating" style="animation-delay: 0.3s;"></i> </div> <p class="text-lg text-green-700 mt-2">Ancient Wisdom Meets Modern Health Monitoring</p> </header> <!-- Dashboard Cards --> <main class="grid grid-cols-1 md:grid-cols-3 gap-6 w-full max-w-6xl"> <!-- Vata Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-green-800">Vata Pulse</h2> <i class="fas fa-wind text-green-600 text-2xl"></i> </div> <p id="vata" class="text-4xl font-mono font-bold text-green-900 mb-2">--</p> <div class="text-sm text-green-700 mb-3">Air & Space Energy</div> <div class="dosha-gauge"> <div id="vata-gauge" class="gauge-fill bg-green-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- Pitta Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-red-700">Pitta Pulse</h2> <i class="fas fa-fire text-red-500 text-2xl"></i> </div> <p id="pitta" class="text-4xl font-mono font-bold text-red-900 mb-2">--</p> <div class="text-sm text-red-700 mb-3">Fire & Water Energy</div> <div class="dosha-gauge"> <div id="pitta-gauge" class="gauge-fill bg-red-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- Kapha Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-blue-700">Kapha Pulse</h2> <i class="fas fa-water text-blue-500 text-2xl"></i> </div> <p id="kapha" class="text-4xl font-mono font-bold text-blue-900 mb-2">--</p> <div class="text-sm text-blue-700 mb-3">Water & Earth Energy</div> <div class="dosha-gauge"> <div id="kapha-gauge" class="gauge-fill bg-blue-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- SpO2 --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-indigo-700">SpO₂</h2> <i class="fas fa-lungs text-indigo-500 text-2xl"></i> </div> <p id="spo2" class="text-4xl font-mono font-bold text-indigo-900 mb-2">--</p> <div class="text-sm text-indigo-700 mb-3">Blood Oxygen Saturation</div> <div class="h-2 bg-gray-200 rounded-full"> <div id="spo2-gauge" class="h-2 rounded-full bg-indigo-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Normal</span> <span>Optimal</span> </div> </div> <!-- Temperature --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-orange-700">Temperature</h2> <i class="fas fa-temperature-high text-orange-500 text-2xl"></i> </div> <p id="temp" class="text-4xl font-mono font-bold text-orange-900 mb-2">--</p> <div class="text-sm text-orange-700 mb-3">Body Temperature</div> <div class="h-2 bg-gray-200 rounded-full"> <div id="temp-gauge" class="h-2 rounded-full bg-orange-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>35°C</span> <span>36.5°C</span> <span>38°C</span> </div> </div> <!-- Health Status --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 flex flex-col"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-purple-700">Health Status</h2> <i class="fas fa-heartbeat text-purple-500 text-2xl pulse"></i> </div> <div id="health-status" class="flex-grow flex flex-col items-center justify-center"> <div id="status-icon" class="text-5xl mb-3 text-green-500"> <i class="fas fa-check-circle"></i> </div> <p id="status" class="text-2xl font-bold text-green-700 mb-2">Balanced</p> <p id="status-desc" class="text-sm text-center text-gray-600">All doshas are in harmony</p> </div> <button id="sos-btn" class="mt-4 bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded-lg transition-colors duration-300"> <i class="fas fa-bell mr-2"></i>SOS Alert </button> </div> </main> <!-- Footer --> <footer class="mt-8 text-green-900 text-sm text-center"> <p>© 2025 AyurPulse | Designed with <i class="fas fa-heart text-red-500"></i> by Murali Vara Prasad</p> <p class="text-xs text-gray-600 mt-1">Data updates every 2 seconds</p> </footer> <!-- JavaScript --> <script> // Random data simulation (replace with ESP32 live data later) function random(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); } function getDoshaStatus(value) { if (value < 65) return { status: "Low", color: "blue-500", icon: "fa-arrow-down" }; if (value > 85) return { status: "High", color: "red-500", icon: "fa-arrow-up" }; return { status: "Balanced", color: "green-500", icon: "fa-check" }; } function getHealthStatus(vata, pitta, kapha) { const balanced = vata >= 65 && vata <= 85 && pitta >= 65 && pitta <= 85 && kapha >= 65 && kapha <= 85; if (!balanced) return { status: "Imbalanced", color: "yellow-500", desc: "Dosha imbalance detected", icon: "fa-exclamation-triangle" }; return { status: "Balanced", color: "green-500", desc: "All doshas are in harmony", icon: "fa-check-circle" }; } function updateData() { // Generate random values const vata = random(60, 100); const pitta = random(60, 100); const kapha = random(60, 100); const spo2 = random(95, 100); const temp = (36 + Math.random() * 2).toFixed(1); // Update DOM document.getElementById("vata").innerText = vata; document.getElementById("pitta").innerText = pitta; document.getElementById("kapha").innerText = kapha; document.getElementById("spo2").innerText = spo2 + "%"; document.getElementById("temp").innerText = temp + "°C"; // Update gauges document.getElementById("vata-gauge").style.width = vata + "%"; document.getElementById("pitta-gauge").style.width = pitta + "%"; document.getElementById("kapha-gauge").style.width = kapha + "%"; document.getElementById("spo2-gauge").style.width = spo2 + "%"; document.getElementById("temp-gauge").style.width = ((temp </html><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AyurPulse - SOS Emergency</title> <script src="https://cdn.tailwindcss.com"></script> </head> <body class="bg-green-50 flex flex-col items-center justify-center min-h-screen"> <h1 class="text-3xl font-bold text-green-800 mb-6">🚨 AyurPulse SOS Emergency</h1> <!-- Contact Selection --> <div class="bg-white shadow-xl rounded-2xl p-6 w-96 mb-6"> <h2 class="text-lg font-semibold mb-4">Select up to 5 Emergency Contacts</h2> <div id="contactsList" class="space-y-2"></div> <button onclick="addContact()" class="mt-3 bg-green-600 text-white px-4 py-2 rounded-lg">➕ Add Contact</button> </div> <!-- SOS Button --> <button id="sosBtn" class="bg-red-600 text-white px-8 py-4 rounded-2xl shadow-lg text-lg font-bold"> 🚨 Send SOS </button> <script> let contacts = []; function renderContacts() { const list = document.getElementById("contactsList"); list.innerHTML = ""; contacts.forEach((c, idx) => { list.innerHTML += ` <div class="flex justify-between items-center bg-gray-100 p-2 rounded-lg"> <span>${c}</span> <button onclick="removeContact(${idx})" class="text-red-500">❌</button> </div> `; }); } function addContact() { if (contacts.length >= 5) { alert("You can only add up to 5 contacts."); return; } const number = prompt("Enter phone number with country code (e.g., +919876543210):"); if (number) { contacts.push(number); renderContacts(); } } function removeContact(idx) { contacts.splice(idx, 1); renderContacts(); } document.getElementById("sosBtn").addEventListener("click", () => { if (contacts.length === 0) { alert("Please add at least one contact."); return; } if (navigator.geolocation) { navigator.geolocation.getCurrentPosition((pos) => { const lat = pos.coords.latitude; const lon = pos.coords.longitude; fetch("http://localhost:5000/sos", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ message: 🚨 Emergency! Please help. My location: https://maps.google.com/?q=${lat},${lon}, contacts }) }) .then(res => res.json()) .then(data => alert("✅ SOS sent successfully")) .catch(err => alert("❌ Failed to send SOS")); }); } else { alert("Geolocation not supported by your browser."); } }); </script> </body> </html> import express from "express"; import bodyParser from "body-parser"; import twilio from "twilio"; const app = express(); app.use(bodyParser.json()); // 🔑 Replace with your Twilio credentials const accountSid = "YOUR_TWILIO_SID"; const authToken = "YOUR_TWILIO_AUTH_TOKEN"; const client = twilio(accountSid, authToken); app.post("/sos", async (req, res) => { const { message, contacts } = req.body; try { for (let number of contacts) { await client.messages.create({ body: message, from: "whatsapp:+14155238886", // Twilio WhatsApp Sandbox number to: whatsapp:${number} }); } res.json({ success: true }); } catch (err) { console.error(err); res.status(500).json({ error: err.message }); } }); app.listen(5000, () => console.log("🚀 AyurPulse SOS Server running on port 5000")); - Initial Deployment
- 20 kB <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AyurPulse - Ayurvedic Health Dashboard</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .pulse { animation: pulse 2s infinite; } .floating { animation: float 6s ease-in-out infinite; } .fade-in { animation: fadeIn 0.5s ease-out forwards; } .glass { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); } .dosha-gauge { height: 8px; border-radius: 4px; background-color: rgba(0, 0, 0, 0.1); } .gauge-fill { height: 100%; border-radius: 4px; transition: width 1s ease-in-out; } .health-glow { box-shadow: 0 0 15px rgba(22, 163, 74, 0.3); } .health-glow.warning { box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); } .ayurvedic-bg { background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(240, 253, 250, 0.9)), url('https://i.ibb.co/6mMQY2K/ayurvedic-bg.jpg') no-repeat center center fixed; background-size: cover; } </style> </head> <body class="min-h-screen flex flex-col items-center justify-center p-4 ayurvedic-bg"> <!-- Header --> <header class="w-full text-center mb-8 fade-in"> <div class="flex items-center justify-center gap-3"> <i class="fas fa-leaf text-green-600 text-4xl floating"></i> <h1 class="text-4xl font-bold text-green-900 drop-shadow-lg">AyurPulse</h1> <i class="fas fa-heartbeat text-red-500 text-4xl floating" style="animation-delay: 0.3s;"></i> </div> <p class="text-lg text-green-700 mt-2">Ancient Wisdom Meets Modern Health Monitoring</p> </header> <!-- Dashboard Cards --> <main class="grid grid-cols-1 md:grid-cols-3 gap-6 w-full max-w-6xl"> <!-- Vata Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-green-800">Vata Pulse</h2> <i class="fas fa-wind text-green-600 text-2xl"></i> </div> <p id="vata" class="text-4xl font-mono font-bold text-green-900 mb-2">--</p> <div class="text-sm text-green-700 mb-3">Air & Space Energy</div> <div class="dosha-gauge"> <div id="vata-gauge" class="gauge-fill bg-green-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- Pitta Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-red-700">Pitta Pulse</h2> <i class="fas fa-fire text-red-500 text-2xl"></i> </div> <p id="pitta" class="text-4xl font-mono font-bold text-red-900 mb-2">--</p> <div class="text-sm text-red-700 mb-3">Fire & Water Energy</div> <div class="dosha-gauge"> <div id="pitta-gauge" class="gauge-fill bg-red-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- Kapha Pulse --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-blue-700">Kapha Pulse</h2> <i class="fas fa-water text-blue-500 text-2xl"></i> </div> <p id="kapha" class="text-4xl font-mono font-bold text-blue-900 mb-2">--</p> <div class="text-sm text-blue-700 mb-3">Water & Earth Energy</div> <div class="dosha-gauge"> <div id="kapha-gauge" class="gauge-fill bg-blue-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Balanced</span> <span>High</span> </div> </div> <!-- SpO2 --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-indigo-700">SpO₂</h2> <i class="fas fa-lungs text-indigo-500 text-2xl"></i> </div> <p id="spo2" class="text-4xl font-mono font-bold text-indigo-900 mb-2">--</p> <div class="text-sm text-indigo-700 mb-3">Blood Oxygen Saturation</div> <div class="h-2 bg-gray-200 rounded-full"> <div id="spo2-gauge" class="h-2 rounded-full bg-indigo-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>Low</span> <span>Normal</span> <span>Optimal</span> </div> </div> <!-- Temperature --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-orange-700">Temperature</h2> <i class="fas fa-temperature-high text-orange-500 text-2xl"></i> </div> <p id="temp" class="text-4xl font-mono font-bold text-orange-900 mb-2">--</p> <div class="text-sm text-orange-700 mb-3">Body Temperature</div> <div class="h-2 bg-gray-200 rounded-full"> <div id="temp-gauge" class="h-2 rounded-full bg-orange-500"></div> </div> <div class="flex justify-between text-xs text-gray-600 mt-1"> <span>35°C</span> <span>36.5°C</span> <span>38°C</span> </div> </div> <!-- Health Status --> <div class="glass p-6 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300 flex flex-col"> <div class="flex items-center justify-between mb-4"> <h2 class="text-xl font-bold text-purple-700">Health Status</h2> <i class="fas fa-heartbeat text-purple-500 text-2xl pulse"></i> </div> <div id="health-status" class="flex-grow flex flex-col items-center justify-center"> <div id="status-icon" class="text-5xl mb-3 text-green-500"> <i class="fas fa-check-circle"></i> </div> <p id="status" class="text-2xl font-bold text-green-700 mb-2">Balanced</p> <p id="status-desc" class="text-sm text-center text-gray-600">All doshas are in harmony</p> </div> <button id="sos-btn" class="mt-4 bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded-lg transition-colors duration-300"> <i class="fas fa-bell mr-2"></i>SOS Alert </button> </div> </main> <!-- Footer --> <footer class="mt-8 text-green-900 text-sm text-center"> <p>© 2025 AyurPulse | Designed with <i class="fas fa-heart text-red-500"></i> by Murali Vara Prasad</p> <p class="text-xs text-gray-600 mt-1">Data updates every 2 seconds</p> </footer> <!-- JavaScript --> <script> // Random data simulation (replace with ESP32 live data later) function random(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); } function getDoshaStatus(value) { if (value < 65) return { status: "Low", color: "blue-500", icon: "fa-arrow-down" }; if (value > 85) return { status: "High", color: "red-500", icon: "fa-arrow-up" }; return { status: "Balanced", color: "green-500", icon: "fa-check" }; } function getHealthStatus(vata, pitta, kapha) { const balanced = vata >= 65 && vata <= 85 && pitta >= 65 && pitta <= 85 && kapha >= 65 && kapha <= 85; if (!balanced) return { status: "Imbalanced", color: "yellow-500", desc: "Dosha imbalance detected", icon: "fa-exclamation-triangle" }; return { status: "Balanced", color: "green-500", desc: "All doshas are in harmony", icon: "fa-check-circle" }; } function updateData() { // Generate random values const vata = random(60, 100); const pitta = random(60, 100); const kapha = random(60, 100); const spo2 = random(95, 100); const temp = (36 + Math.random() * 2).toFixed(1); // Update DOM document.getElementById("vata").innerText = vata; document.getElementById("pitta").innerText = pitta; document.getElementById("kapha").innerText = kapha; document.getElementById("spo2").innerText = spo2 + "%"; document.getElementById("temp").innerText = temp + "°C"; // Update gauges document.getElementById("vata-gauge").style.width = vata + "%"; document.getElementById("pitta-gauge").style.width = pitta + "%"; document.getElementById("kapha-gauge").style.width = kapha + "%"; document.getElementById("spo2-gauge").style.width = spo2 + "%"; document.getElementById("temp-gauge").style.width = ((temp </html><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AyurPulse - SOS Emergency</title> <script src="https://cdn.tailwindcss.com"></script> </head> <body class="bg-green-50 flex flex-col items-center justify-center min-h-screen"> <h1 class="text-3xl font-bold text-green-800 mb-6">🚨 AyurPulse SOS Emergency</h1> <!-- Contact Selection --> <div class="bg-white shadow-xl rounded-2xl p-6 w-96 mb-6"> <h2 class="text-lg font-semibold mb-4">Select up to 5 Emergency Contacts</h2> <div id="contactsList" class="space-y-2"></div> <button onclick="addContact()" class="mt-3 bg-green-600 text-white px-4 py-2 rounded-lg">➕ Add Contact</button> </div> <!-- SOS Button --> <button id="sosBtn" class="bg-red-600 text-white px-8 py-4 rounded-2xl shadow-lg text-lg font-bold"> 🚨 Send SOS </button> <script> let contacts = []; function renderContacts() { const list = document.getElementById("contactsList"); list.innerHTML = ""; contacts.forEach((c, idx) => { list.innerHTML += ` <div class="flex justify-between items-center bg-gray-100 p-2 rounded-lg"> <span>${c}</span> <button onclick="removeContact(${idx})" class="text-red-500">❌</button> </div> `; }); } function addContact() { if (contacts.length >= 5) { alert("You can only add up to 5 contacts."); return; } const number = prompt("Enter phone number with country code (e.g., +919876543210):"); if (number) { contacts.push(number); renderContacts(); } } function removeContact(idx) { contacts.splice(idx, 1); renderContacts(); } document.getElementById("sosBtn").addEventListener("click", () => { if (contacts.length === 0) { alert("Please add at least one contact."); return; } if (navigator.geolocation) { navigator.geolocation.getCurrentPosition((pos) => { const lat = pos.coords.latitude; const lon = pos.coords.longitude; fetch("http://localhost:5000/sos", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ message: 🚨 Emergency! Please help. My location: https://maps.google.com/?q=${lat},${lon}, contacts }) }) .then(res => res.json()) .then(data => alert("✅ SOS sent successfully")) .catch(err => alert("❌ Failed to send SOS")); }); } else { alert("Geolocation not supported by your browser."); } }); </script> </body> </html> import express from "express"; import bodyParser from "body-parser"; import twilio from "twilio"; const app = express(); app.use(bodyParser.json()); // 🔑 Replace with your Twilio credentials const accountSid = "YOUR_TWILIO_SID"; const authToken = "YOUR_TWILIO_AUTH_TOKEN"; const client = twilio(accountSid, authToken); app.post("/sos", async (req, res) => { const { message, contacts } = req.body; try { for (let number of contacts) { await client.messages.create({ body: message, from: "whatsapp:+14155238886", // Twilio WhatsApp Sandbox number to: whatsapp:${number} }); } res.json({ success: true }); } catch (err) { console.error(err); res.status(500).json({ error: err.message }); } }); app.listen(5000, () => console.log("🚀 AyurPulse SOS Server running on port 5000")); - Initial Deployment
- 388 Bytes initial commit