Skip to Content
MySagra 1.5.0 is released πŸŽ‰
Introduction

Introduction

Welcome to the MySagra documentation.

MySagra is an open-source event catering management platform designed for associations, festivals, and local events. It covers the full lifecycle of a food-service operation: menu management, order-taking at the counter, kitchen display, receipt printing, and administrator reporting β€” all running on hardware you own and control.

What’s included

ServiceDescription
MySagra APIThe core backend REST API. Handles menus, orders, users, authentication, and real-time events via SSE.
MySQLPrimary relational database.
RedisIn-memory cache used by the backend for performance optimization.
MyCassaCounter-side point-of-sale frontend. Runs on any browser, optimised for tablets and touchscreens.
MyAmministratoreAdmin dashboard for managing menus, categories, events, and viewing reports.
MyStampaReceipt and ticket printing service. Bridges the API and your thermal printers.
MyNumeriNumber queue display service for customer call-up.
MyClientiClient-facing webapp for placing or tracking orders.
DBGateDatabase administration UI for direct database inspection and management.
NginxReverse proxy with HTTPS termination. Recommended for any deployment.

Architecture overview

All services communicate over an internal Docker network (mysagra-network). Nginx is exposed to the outside world on ports 80 (redirects to HTTPS), 443 (MyCassa and API), 81 (admin panel), 3032 (MyStampa), 3033 (MyNumeri), and 3034 (MyClienti). DBGate is exposed directly on port 3000 without HTTPS. The API and database are never directly reachable from outside the host.

Internet / LAN β”‚ β–Ό Nginx (:80 β†’ :443, :443, :81, :3032, :3033, :3034) β”‚ β”œβ”€β”€β–Ί MyCassa (:7000) β”œβ”€β”€β–Ί MyAmministratore (:3000) β”œβ”€β”€β–Ί MyStampa (:1234) β”œβ”€β”€β–Ί MyNumeri (:3033) β”œβ”€β”€β–Ί MyClienti (:3034) └──► MySagra API (:4300) β”‚ β”‚ β”œβ”€β”€β–Ί MySQL (:3306) └──► Redis (:6379) DBGate (:3000, direct host port) β”‚ └──► MySQL (:3306)

Where to start

  • Quick Start β€” generate your docker-compose.yml, .env, and nginx.conf in minutes and get the stack running
  • Self Hosting β€” deep-dive into certificates, Nginx configuration, and production hardening
  • API Reference β€” full REST API documentation
Last updated on