Pig is a microservice-based RBAC permission management platform built on Spring Cloud and Spring Boot, with OAuth2 authentication and authorization at its core. It provides a dedicated authorization server that issues access and refresh tokens using authorization code, password, and refresh token grant types, while embedding role and permission checks into each microservice to secure API endpoints.
The platform distinguishes itself through a comprehensive set of integrated capabilities, including automatic CRUD code generation from database schemas that produces controller, service, mapper, and UI files at development time. It also features a centralized health monitoring dashboard that aggregates real-time metrics and service status, a built-in scheduled task execution engine for running recurring background jobs, and Docker Compose orchestration for local development environments that coordinates databases, caches, and business services.
Additional capabilities include automated code formatting enforcement during the build process to maintain consistent coding style, and a centralized administration interface for assigning roles and permissions to users. The platform supports Spring Cloud microservice administration with service discovery, configuration management, and monitoring features.