Skip to content

alex887885/Logicstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LogicStarter

LogicStarter Logo

Production-oriented SaaS starter with a credible admin shell, provider-backed runtime settings, organization-centric tenancy, and an upgrade-safer core/app boundary.

Docs Version License Runtime Database Deploy

Overview

LogicStarter is a sellable SaaS foundation for teams that want more than a demo scaffold.

It gives you a reusable platform core with:

  • organization-centric multi-tenancy
  • starter-owned admin and settings surfaces
  • provider-backed runtime configuration stored in the database
  • billing, branding, support, and operator access posture already modeled
  • safer long-term layering between starter core and app-specific product logic

Quick Links

Install and Deploy First

If you are evaluating the project from GitHub, start here first.

Option 1: Docker Compose

Use Docker when you want the fastest reproducible local or server deployment baseline.

  1. Copy the repository source.
  2. Create a .env file.
  3. Start PostgreSQL and the app with Docker Compose.

Repository deployment assets:

Option 2: One-Line Install

If you want the shortest bootstrap path for local evaluation:

sh scripts/install.sh

This script creates .env if needed, generates a starter-safe secret when the placeholder is still present, and starts the default Docker stack.

Option 3: 1Panel One-Click Style Deployment

Use 1Panel when you want a buyer-friendly or operator-friendly deployment flow.

Recommended posture:

  • create a PostgreSQL service in 1Panel
  • set DATABASE_URL and SETTINGS_SECRET_KEY
  • build and run the app inside the deployment environment
  • expose it behind your reverse proxy and TLS

The deployment guide now includes a dedicated 1Panel section with the recommended order of operations.

Option 4: Local Development

pnpm install
pnpm db:generate
pnpm db:push
pnpm dev

Minimum .env:

DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/starter
SETTINGS_SECRET_KEY=replace-with-a-long-random-secret

Why Teams Choose LogicStarter

  • Credible admin shell
    • you do not start from empty placeholder tiles; operators get a real control surface on day one
  • Database-backed runtime settings
    • integrations are managed in the product instead of being trapped in .env forever
  • Organization-first tenant model
    • billing, access, branding, and rollout posture stay easier to reason about
  • Clear starter/app split
    • starter-owned platform concerns stay reusable while product-specific flows stay outside core
  • External docs boundary
    • public docs, FAQ, and editorial publishing live in external docs systems instead of leaking back into starter core

What You Get in v1.66

  • React Router 7 application shell
  • Better Auth-based local authentication baseline
  • PostgreSQL persistence through Drizzle ORM
  • provider-backed runtime settings for email, SMS, payment, storage, authentication, and branding
  • starter-owned admin shell for operators
  • user, organization, payment, support, and settings operational surfaces
  • white-label and brand posture controls
  • role-based admin access with real authenticated sessions
  • runtime verification and health endpoints

v1.66 highlights

  • owner self-delete now closes the last-owned organization instead of blocking account deletion
  • organization members lose tenant access, while user accounts and payment history are retained
  • /admin/users and /admin/organizations now follow the same list-first, click-to-edit admin workflow
  • first install and admin docs are aligned around Initialize administrator and role-based /admin access
  • repository docs and public docs were updated to reflect the current multi-tenant model and access posture

Current auth and tenancy posture

  • /admin is protected by real authenticated sessions, not by a separate protected-mode password gate
  • only users with users.role = admin or users.role = operator can access starter admin routes
  • the first install flow initializes the first administrator with email, password, and confirm password
  • protected platform access mode and /access are removed from the current starter posture
  • organizations remain the tenant root for billing, plan assignment, and member access
  • when the last owner deletes their own account, LogicStarter closes that organization, removes member access, keeps member accounts, and retains billing history

Product Tags

  • SaaS starter
  • Admin-first
  • Multi-tenant
  • React Router 7
  • PostgreSQL
  • Drizzle ORM
  • Better Auth
  • Docker-ready
  • 1Panel-friendly
  • Commercially credible

Repository Metadata

  • Repository version: 1.66.0
  • Primary operator surface: /admin
  • Primary admin configuration entry: /admin/settings
  • Public docs posture: external docs site
  • License posture: AGPL-3.0 by default with separate commercial licensing

Runtime Integration Posture

Current runtime integrations:

  • Email: Resend, SMTP, Amazon SES
  • SMS: Console relay, AWS End User Messaging, Twilio, Vonage
  • Payment: Stripe, Lemon Squeezy
  • Storage: Local, S3, R2

Authentication is not treated as a casual dropdown swap.

  • default posture: Better Auth-style local auth flow
  • replacements such as Clerk or Supabase should be treated as explicit architectural swaps

Admin Surfaces

Current operator-facing surfaces include:

  • /admin
  • /admin/users
  • /admin/organizations
  • /admin/payment
  • /admin/support
  • /admin/content
  • /admin/settings
  • /admin/branding

Legacy /settings/* paths may still exist as compatibility routes, but /admin/* is the primary operator posture.

First Successful Boot Checklist

After the app starts, verify this order:

  1. open / and start the first-install flow if the system has no users yet
  2. initialize the first administrator with email, password, and confirm password
  3. open /admin/settings and configure runtime integrations
  4. review /admin/communications, /admin/payment, /admin/billing, and /admin/branding
  5. open /admin and inspect organizations, users, payment posture, support, and operational visibility

Documentation Map

Start with these repository docs:

For the customer-facing documentation experience, use the dedicated public docs site at starter.logicm8.com/docs.

Architecture Direction

LogicStarter is organized around four layers:

  • core
  • providers
  • modules
  • app

Boundary rules:

  • apps should prefer starter public surfaces over deep internal imports
  • providers should isolate runtime-specific implementation details
  • modules should describe reusable capability, not app-specific delivery behavior
  • app-specific workflows should remain outside starter core so upgrades stay safer

License and Commercial Use

This repository is available under AGPL-3.0 by default.

If your use case is incompatible with AGPL obligations, a separate commercial license may be offered.

See:

  • LICENSE
  • COMMERCIAL_LICENSE.md
  • SECURITY.md
  • CONTRIBUTING.md

Commercial contacts:

  • Licensing: licensing@logicm8.com
  • Business: business@logicm8.com

About

Production-oriented SaaS starter with admin-first operations, organization-centric tenancy, provider-backed runtime settings, and upgrade-safer core/app boundaries.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors