Dev builds zero-signup demo system that auto-provisions and deletes throwaway tenants
A developer behind NeNe Invoice, an open-source self-hosted invoicing app for Japanese small businesses, built a demo system that requires no account creation. Clicking a demo URL instantly provisions a unique disposable tenant pre-loaded with realistic industry-specific data, then automatically deletes it three hours later via a cron job. The system leverages the app's existing multi-tenancy architecture, requiring roughly 900 lines of new code with no changes to the core authentication logic. Demo tenants are prefixed with 'demo-' to namespace them and safely identify them for cleanup, ensuring real organizations are never affected. Seeded data uses dates relative to the current day so the demo always appears current, and the feature is hidden behind a server-side flag that returns a 404 on non-demo instances.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in