# dromara/lamp-cloud

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/dromara-lamp-cloud).**

5,752 stars · 1,759 forks · Java · Apache-2.0

## Links

- GitHub: https://github.com/dromara/lamp-cloud
- Homepage: http://tangyh.top
- awesome-repositories: https://awesome-repositories.com/repository/dromara-lamp-cloud.md

## Topics

`admin` `cloud` `eureka` `gateway` `hystrix` `java` `jwt` `mybatis` `nacos` `seata` `spring` `spring-cloud` `springboot` `springcloud` `xss` `zuul`

## Description

Lamp Cloud is a multi-tenant SaaS backend framework built on Java and Spring Cloud that provides a complete foundation for building enterprise-grade administration systems. Its core identity centers on supporting multiple tenant isolation strategies—including database-per-tenant, schema-per-tenant, and shared-table modes—that can be switched without altering business code, alongside a role-based access control system enforced at the gateway layer across all microservices.

The framework distinguishes itself through comprehensive tenant lifecycle management tools that allow creating, configuring, and initializing tenants with their own data sources and administrators, while also enabling per-tenant assignment of applications, menus, views, and data permissions. It supports both microservice and monolithic deployment from the same codebase, includes distributed transaction coordination via Seata, and provides automatic code generation from database schemas that produces controller, service, mapper, and frontend files to accelerate CRUD development.

Additional capabilities include distributed task scheduling across clusters, file storage integration with multiple backends such as FastDFS and MinIO, multi-channel notifications through email and SMS, consistent form validation across frontend and backend, and audit logging of user and system activity for security monitoring. The framework also addresses common microservice challenges with cache stampede prevention and protection against XSS and SQL injection attacks.

## Tags

### Data & Databases

- [Pluggable Tenant Isolation Schemes](https://awesome-repositories.com/f/data-databases/database-orchestration/tenant/database-level-tenant-isolations/pluggable-tenant-isolation-schemes.md) — Switches between database-per-tenant, schema-per-tenant, or shared-table isolation without changing business code. ([source](https://tangyh.top/))
- [Tenant Lifecycle Managers](https://awesome-repositories.com/f/data-databases/multi-tenant-data-management/tenant-lifecycle-managers.md) — Provides tools to create, configure, initialize, and administer tenants including their data sources and administrators. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))
- [Multi-Provider Object Storage](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/file-based-storage/local-file-storage/s3-compatible-cloud-storage/multi-provider-object-storage.md) — Supports switching between local storage, FastDFS, MinIO, and various cloud object storage services dynamically. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))
- [File Store Backends](https://awesome-repositories.com/f/data-databases/database-management-systems/database-engines/vector-databases/postgresql-vector-stores/postgresql-metadata-stores/file-store-backends.md) — Uploads and retrieves files from FastDFS, MinIO, or other storage systems through a unified interface. ([source](http://tangyh.top/doc/%E7%AE%80%E4%BB%8B.html))
- [Distributed Transaction Coordinators](https://awesome-repositories.com/f/data-databases/multi-tenant-data-management/distributed-transaction-coordinators.md) — Coordinates commits and rollbacks across multiple services using Seata to maintain data consistency. ([source](http://tangyh.top/doc/%E7%AE%80%E4%BB%8B.html))
- [Cross-Stack Validation Rules](https://awesome-repositories.com/f/data-databases/store-consistency-validation/cross-stack-validation-rules.md) — Applies the same validation rules on both frontend and backend to ensure data integrity. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))

### Business & Productivity Software

- [Multi-Tenant SaaS Frameworks](https://awesome-repositories.com/f/business-productivity-software/multi-tenant-saas-frameworks.md) — Provides a complete multi-tenant SaaS backend framework with multiple isolation strategies. ([source](https://cdn.jsdelivr.net/gh/dromara/lamp-cloud@java17/5.x/README.md))

### Security & Cryptography

- [Per-Tenant Resource Assignments](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation-layers/application-data-isolation/multi-tenant-application-foundations/per-tenant-resource-assignments.md) — Assigns applications, menus, views, buttons, fields, and data permissions to specific tenants. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))
- [Configurable Tenant Isolation Modes](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation/configurable-tenant-isolation-modes.md) — Supports non-tenant, column-based, and datasource-based isolation, letting each deployment choose the right data separation strategy. ([source](http://tangyh.top/doc/%E7%AE%80%E4%BB%8B.html))
- [Role-Based Access Controls](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation/role-based-access-controls.md) — Enforces permissions through a self-developed RBAC system with gateway-level authentication and data-level rules. ([source](https://cdn.jsdelivr.net/gh/dromara/lamp-cloud@java17/5.x/README.md))
- [Role-Based Access Control](https://awesome-repositories.com/f/security-cryptography/role-based-access-control.md) — Enforces fine-grained access control through roles, resources, and data permissions across the application. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))

### Software Engineering & Architecture

- [Dual-Mode Deployments](https://awesome-repositories.com/f/software-engineering-architecture/monolithic-architectures/dual-mode-deployments.md) — Runs the same codebase as either a microservice or a monolithic application to fit different deployment needs. ([source](https://tangyh.top/))
- [Database Schema Code Generators](https://awesome-repositories.com/f/software-engineering-architecture/openapi-specification-parsers/go-code-generators/specification-from-code-generators/code-from-specification-generators/database-schema-code-generators.md) — Generates controller, service, mapper, and frontend files from database tables to accelerate CRUD development. ([source](https://tangyh.top/))
- [Mapper Code Generators](https://awesome-repositories.com/f/software-engineering-architecture/schema-to-code-generators/mapper-code-generators.md) — Produces controller, service, mapper, and frontend files from database tables to accelerate CRUD development. ([source](http://tangyh.top/doc/%E7%AE%80%E4%BB%8B.html))

### Web Development

- [Full-Stack Code Generators](https://awesome-repositories.com/f/web-development/automated-frontend-generators/full-stack-code-generators.md) — Creates visual code generation for both frontend and backend, reducing manual boilerplate for admin panel development. ([source](https://cdn.jsdelivr.net/gh/dromara/lamp-cloud@java17/5.x/README.md))
- [CRUD Application Generators](https://awesome-repositories.com/f/web-development/crud-application-generators.md) — Generates single-table, master-detail, and tree-structure pages with minimal configuration to speed up development. ([source](https://tangyh.top/))

### Part of an Awesome List

- [Pluggable File and Message Backends](https://awesome-repositories.com/f/awesome-lists/data/storage-and-files/pluggable-file-and-message-backends.md) — Supports multiple file storage backends and messaging channels through pluggable interfaces. ([source](https://cdn.jsdelivr.net/gh/dromara/lamp-cloud@java17/5.x/README.md))
- [Cross-Stack Form Validators](https://awesome-repositories.com/f/awesome-lists/devtools/forms-and-validation/async-form-validators/cross-stack-form-validators.md) — Applies the same validation rules on both client and server to ensure data integrity across the stack. ([source](https://tangyh.top/))

### DevOps & Infrastructure

- [Distributed Recurring Task Scheduling](https://awesome-repositories.com/f/devops-infrastructure/distributed-recurring-task-scheduling.md) — Runs cron jobs across a cluster with a distributed scheduler, ensuring each task executes exactly once. ([source](http://tangyh.top/doc/%E7%AE%80%E4%BB%8B.html))

### System Administration & Monitoring

- [User Action Audit Logging](https://awesome-repositories.com/f/system-administration-monitoring/activity-monitors/automated-activity-loggers/user-activity-monitoring/user-action-audit-logging.md) — Logs login events, operation actions, and API calls for security monitoring and compliance. ([source](https://tangyh.top/vip/%E5%8A%9F%E8%83%BD%E5%AF%B9%E6%AF%94.html))
