Start building.
Stay in control.
An introduction to the LorzoBase core and the current developer preview. The full source repository remains private.
Quickstart
Prerequisites: Docker and Docker Compose, access to the private project repository, and an available local port 3000. The initialization script creates an environment file with random secrets.
./scripts/init-env.sh
docker compose up -d
docker compose logs app | grep setupTokenOpen http://localhost:3000/admin and complete the initial setup. Keep the setup token and generated environment secrets private.
One application. One database.
Fastify composes the TypeScript backend modules. The React admin interface is bundled alongside the server. PostgreSQL provides persistent data, row-level security and the job queue. The minimal deployment consists of the application, PostgreSQL and a persistent volume.
Authentication uses Better Auth. The Data API exposes only explicitly allowed tables, columns and functions. Tenant membership and roles govern access.
TypeScript SDK
The preview currently uses the original package namespace @lorzsaas/sdk. This example illustrates the API for a configured inventory schema.
import { createClient } from "@lorzsaas/sdk";
const client = createClient({
url: "https://api.example.com"
});
await client.auth.signIn({ email, password });
const [household] = await client.tenants.list();
client.tenants.switch(household.id);
const batches = await client
.from("inventory_batches")
.select("id,quantity,product:products(name)")
.gt("quantity", 0)
.order("expiry_date", { nullsFirst: false })
.limit(50);Coming from Supabase?
Selected auth and data API interfaces use compatible paths and syntax: /auth/v1, /rest/v1, auth.uid(), and auth.jwt(). This is a starting point for an incremental migration, not a guarantee of full client or behavioral compatibility.
- Inventory your auth flows, database schema, policies, functions and storage usage.
- Identify features supported by v0.1 and flag any missing modules.
- Test representative queries, tenant boundaries and authentication flows on an isolated instance.
- Validate backups and rollback options before any production switch.
Storage, functions, secrets and a dedicated migrator are planned for v0.2. Realtime and billing are later milestones.
Operate responsibly
The project includes a threat model, security documentation and integration tests. A full external security review and restore testing are roadmap items. Treat the current release as an MVP; do not expose sensitive production data without your own review.
Use TLS for remote access, protect credentials, restrict database network exposure, review RLS and configure independent backups. Do not rely on the planned integrated backup module yet.
Make room for
your next big idea.
Testing a small VPS, migrating an existing application, or building a multi-tenant SaaS? Help shape LorzoBase before its public release.
No signup form, no tracking cookies. Get in touch directly by email.