mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
609 B
609 B
Custom Server Example
This example demonstrates how to bootstrap the NotifkitServer orchestrator with custom notification provider transports, custom concurrency options, and graceful process shutdown handlers.
Prerequisites
- Node.js >= 22
- Running PostgreSQL and Redis instances (or environment variables
DATABASE_URLandREDIS_URL)
How to Run
# Set environment variables (optional if running locally with defaults)
export DATABASE_URL="postgresql://platform:platform@localhost:5432/notifkit"
export REDIS_URL="redis://localhost:6379"
# Run the server example
node index.js