Pressure Monitor API v1.0.0
const token = await auth.currentUser.getIdToken();
curl http://localhost:8000/api/sensors \ -H "Authorization: Bearer YOUR_TOKEN"
GET /api/sensors - List all sensorsGET /api/sensors/{id} - Get sensor detailsPATCH /api/sensors/{id}/update-name - Update sensor nameGET /api/sensors/{id}/history - Get historical dataPOST /api/create-checkout-session - Create Stripe checkoutPOST /api/get-payment-method - Get payment methodPOST /api/get-invoices - Get invoicesPOST /api/update-stripe-email - Update Stripe email