Sign inSign up

reloopsh/be-template

By reloopsh

•Updated about 9 hours ago

Email template management service for Reloop — create, version, and collaborate on templates.

Image
Web servers
0

4.3K

reloopsh/be-template repository overview

⁠📝 Reloop — Template Service

The Template Service manages the full lifecycle of email templates in the Reloop⁠ platform. It supports creating and versioning templates, real-time collaborative editing via WebSocket rooms, and rendering templates with dynamic variable substitution.

Built on Bun⁠ + Elysia⁠, backed by PostgreSQL and Redis.


⁠🚀 Features

  • Template CRUD — Create, read, update, and delete email templates
  • Versioning — Track template versions and changes over time
  • Real-time Collaboration — WebSocket-based collaborative editing rooms
  • Persistence Plugin — Durable state persistence for collaborative sessions
  • Variable Substitution — Dynamic content rendering at send time
  • Organization-scoped — All templates isolated per org
  • API Key Auth — Secured via x-api-key header
  • OpenAPI Docs — Auto-generated spec at /api/template/openapi
  • NATS Bus — Event-driven integration via the Reloop message bus


⁠⚡ Quick Start

docker pull reloopsh/be-template:latest

docker run -d \
  -p 8019:8019 \
  -e PG_URL=postgresql://user:password@host:5432/reloop \
  -e REDIS_URL=redis://:password@host:6379 \
  -e NATS_URL=nats://host:4222 \
  -e BASE_URL=https://your-domain.com \
  reloopsh/be-template:latest

The service will be available at http://localhost:8019/api/template.


⁠🔧 Environment Variables

VariableDefaultDescription
PORT8019Port the server listens on
PG_URL—PostgreSQL connection string
REDIS_URL—Redis connection string
NATS_URL—NATS messaging server URL
BASE_URL—Public base URL of the platform
NODE_ENVproductionRuntime environment

⁠🛠 Tech Stack


⁠📦 Part of the Reloop Platform

This image is one of several microservices that make up the Reloop backend. See the full list at hub.docker.com/u/reloopsh⁠.

Tag summary

Content type

Image

Digest

sha256:d10f28544…

Size

737.7 MB

Last updated

about 9 hours ago

docker pull reloopsh/be-template