Campground is a production-ready, open-source boilerplate for multi-tenant applications. Built-in hierarchy, permissions, and auth, so you can focus on building what matters.
Campground provides all the essential features for building robust multi-tenant applications, from authentication to advanced permission management.
Model complex structures like Orgs → Companies → Teams → Projects. Customizable naming to fit your organization's needs.
Secure your data with pre-built Admin, Editor, and Reader roles, enforced by a robust middleware.
Support multiple login methods out-of-the-box: passwordless magic links, enterprise SSO (OIDC), and traditional email/password.
Onboard users effortlessly. Invitations pre-configure a user's role and access level before they even sign up.
Assign new users to Organizations or Companies based on their email domain, with automatic DNS based domain verification.
Get up and running locally or in production in minutes with a single `docker-compose up` command.
Leverage the latest web technologies and best practices for building robust, scalable applications.
A performant and reliable backend powered by Node.js and ExpressJS, with Prisma ORM for type-safe database access to a PostgreSQL database.
A snappy and responsive UI built with React and Vite. Global state is managed cleanly with Zustand, and it's styled with Tailwind CSS.
Containerized with Docker for consistent environments. The monorepo is managed with NPM Workspaces, linted with ESLint, and formatted with Prettier.
Clone the repository and start building your multi-tenant application with our comprehensive setup guide.