Live Product URLs

Resource URL
Live Dashboard https://supplysafe.vercel.app
GitHub Repository https://github.com/Developer-Aryan/supplysafe

Access Credentials

Role Email Password
Admin (Aryan) [email protected] (personal)
Demo / Client [email protected] SupplySafe2026

Infrastructure

Layer Service Details
Frontend Vercel Auto-deploys from GitHub master branch
Backend API Oracle Cloud 80.225.238.166, port 8000, PM2 process: supplysafe-api
Tunnel Cloudflare Tunnel Tunnel ID: eb855617-d560-4b62-9ca3-41f75f751479
Database Supabase Project: kgqykbezkjbbhtttwcai (smartform-ai project)
Process Manager PM2 supplysafe-api + supplysafe-tunnel both running

Server Access

ssh -i "D:\Oracle Public and Private Key\Redownloaded\ssh-key-2026-03-25 (1).key" [email protected]

Project path on server: /home/ubuntu/supplysafe

To restart backend: pm2 restart supplysafe-api --update-env

To check status: pm2 status

To view logs: pm2 logs supplysafe-api --lines 50


API Endpoints Reference

Method Endpoint Description
GET /api/dashboard/summary Active alerts, revenue at risk, pending actions, critical inventory count
GET /api/suppliers All suppliers with risk data
GET /api/inventory All inventory with stock levels
GET /api/orders All customer orders
GET /api/customers All customers (service key, bypasses RLS)
GET /api/purchase-orders All purchase orders
GET /api/risk-assessments All risk assessment records
GET /api/agent-actions All agent action drafts
GET /api/agent-logs Last 20 agent run logs
POST /api/agents/run Trigger full 4-agent pipeline
PATCH /api/agent-actions/{id}/approve Approve a draft communication
PATCH /api/agent-actions/{id}/reject Reject a draft communication
PATCH /api/agent-actions/{id}/edit Edit draft content