Kernel Plugin
The Kernel provides shared infrastructure services (auth, files, events) for multi-application deployments using NATS.
Quick Start
Section titled “Quick Start”{ "project": { "kernel": { "name": "kernel", "firebaseProjectId": "my-firebase-project" } }}Services
Section titled “Services”| Service | Protocol | Purpose |
|---|---|---|
| Auth | HTTP | Firebase token validation |
| Files | NATS | Signed URL generation |
| Events | NATS | Event publishing |
Ports (Local Dev)
Section titled “Ports (Local Dev)”- HTTP: 8090 (health, auth)
- NATS: 4222 (messaging)
import { env } from '@stacksolo/runtime';
// Auth validationconst response = await fetch(`${env.kernelUrl}/auth/validate`, { method: 'POST', headers: { 'Authorization': `Bearer ${token}` }});Learn More
Section titled “Learn More”- Source code
- GCP Kernel - GCP-native alternative