{"by":"lalitgehani","descendants":14,"id":46600092,"kids":[46602254,46600208,46602880,46609466,46602475,46609346,46615887,46607469,46600108],"score":70,"text":"Hi HN, I’m the creator of SnackBase.<p>I built this because I work in Healthcare and Life Sciences domain and was tired of spending months building the same &quot;compliant&quot; infrastructure (Audit Logs, Row-Level Security, PII Masking, Auth) before writing any actual product code.<p>The Problem: Existing BaaS tools (Supabase, Appwrite) are amazing, but they are hard to validate for GxP (FDA regulations) and often force you into a JS&#x2F;Go ecosystem. I wanted something native to the Python tools I already use.<p>The Solution: SnackBase is a self-hosted Python (FastAPI + SQLAlchemy) backend that includes:<p>Compliance Core: Immutable audit logs with blockchain-style hashing (prev_hash) for integrity.<p>Native Python Hooks: You can write business logic in pure Python (no webhooks or JS runtimes required).<p>Clean Architecture: Strict separation of layers. No business logic in the API routes.<p>The Stack:<p>Python 3.12 + FastAPI<p>SQLAlchemy 2.0 (Async)<p>React 19 (Admin UI)<p>Links:<p>Live Demo: <a href=\"https:&#x2F;&#x2F;demo.snackbase.dev\" rel=\"nofollow\">https:&#x2F;&#x2F;demo.snackbase.dev</a><p>Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;lalitgehani&#x2F;snackbase\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;lalitgehani&#x2F;snackbase</a><p>The demo resets every hour. I’d love feedback on the DSL implementation or the audit logging approach.","time":1768307273,"title":"Show HN: SnackBase – Open-source, GxP-compliant back end for Python teams","type":"story","url":"https://snackbase.dev"}