Modern centralized backend infrastructure powering the SG Ecosystem.
SG ALL IN API is designed as the core backend system connecting multiple SG ecosystem modules into one scalable platform.
The system is focused on:
- emergency assistance discovery
- payment infrastructure
- vulnerable user support systems
- service mapping
- secure modular integrations
- AI-assisted services
- future WhatsApp ecosystem integrations
Location-aware support and service discovery.
Real-time emergency assistance lookup system.
Payment and donation infrastructure for services and support systems.
Security-oriented user protection systems and risk prevention.
Diplomatic feedback and ecosystem intelligence module.
| Layer | Technology |
|---|---|
| Backend | Node.js |
| Language | TypeScript |
| API Framework | Express.js |
| Database | PostgreSQL / Supabase |
| Deployment | Vercel |
| Payments | Stripe / Circle / Coinbase |
| AI Systems | OpenAI + Python Modules |
| Communication | WhatsApp Cloud API |
GET /healthGET /servicesExample:
GET /services?type=food&city=Malaga&openNow=truePOST /emergency/nearestExample body:
{
"lat": 36.7213,
"lng": -4.4214,
"need": "food"
}POST /payments/create-linkExample body:
{
"amount": 5,
"currency": "EUR",
"purpose": "SG Bite food support"
}POST /feedbackInstall dependencies:
npm installRun development server:
npm run dev- WhatsApp-native SG ecosystem
- AI routing and assistance
- stablecoin payment systems
- multilingual AI translation
- emergency optimization systems
- SG ALL IN dashboard
- global deployment scaling
- AI safety and secure communications
src/
index.ts
routes/
health.ts
services.ts
emergency.ts
payments.ts
feedback.ts
data/
mockServices.tsCreated by Robert Andersson
MIT License
