{"repo":"bedest-hq/bedest","free":true,"listed":false,"github":"https://github.com/bedest-hq/bedest","clone":"git clone https://github.com/bedest-hq/bedest.git","description":"The ultimate boilerplate. Build type-safe, scalable SaaS applications faster with Bun, Elysia, and Drizzle.","language":"TypeScript","stars":13,"topics":["backend","boilerplate","bun","drizzle-orm","elysiajs","multi-tenancy","postgresql","rest-api","swagger","typescript"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Bedest - B.E.D. Stack Boilerplate A production-ready, strictly typed backend foundation built for B2B SaaS and scalable microservices. Powered by B un, E lysiaJS, and D rizzle ORM. --- Architectural Philosophy Bedest is engineered to solve the most grueling challenges of B2B SaaS development—Multi-tenancy, Row-Level Security (RLS), Role-Based Access Control (RBAC), and Plan Management—from day one. It enforces a Strictly Typed environment, eliminating any types in favor of robust runtime validation. The core abstractions (base services, utilities, guards, interfaces) live in a separate, publicly available package: bedest-core . This keeps the boilerplate lean while making the building blocks reusable across any BED-stack project. Why Bedest? Bulletproof Error Handling : A centralized ErrorHandler with a recursive extraction logic that unmasks deep-nested Drizzle/Postgres errors into standard, frontend-friendly JSON. Native Multi-Tenancy : Data isolation is not just a where clause; it is enforced at the database level using PostgreSQL Row-Level Security (RLS) . SaaS Ready : Built-in PlanGuard for subscription-based feature gating and a system-wide MaintenanceMode for graceful downtime. Real-Time Ready : Integrated WebSocket manager and notification system for live payload delivery directly to users or entire tenants. Immutable Audit Trail : An Aspect-Oriented, macro-driven system logging mechanism that automatically tracks \"who did what\" with 100% type safety. Headless Archite","default_branch":null,"files":null,"tree":[],"storefront":"/r/bedest-hq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bedest-hq/bedest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}