Skip to main content

Overview

Panshi project is a Spring Boot-based web backend service implements, include RBAC architecture. combined with frontend project Nichang can quickly build your application.

PROJECTTYPELINKS
PanshiBackendhttps://gitee.com/xiaobolinet/panshi.git
NichangFrontendhttps://gitee.com/xiaobolinet/nichang.git
DemoDemohttps://www.xiaobo.li/nichang/demo/

Code Repository

https://gitee.com/xiaobolinet/panshi.git
https://github.com/xiaobolinet/qiyuan.git

Modules

ModuleRemark
app/modules/pomPOM and dependency version management
app/modules/frameworkSystem framework support module (see: Note 1)
app/modules/securitySecurity module (User authentication and login)
app/modules/taskScheduled task module
app/modules/mgpCode auto-generation module
app/systemglobal system module
app/webWeb service module
app/pom.xmlProject POM file
tip

Note 1: Framework module should not be modified or contain business logic to facilitate seamless updates when official upgrades are released. Business logic should be placed in system or application modules. Typically, Most of content updated official upgrades only include framework module, you can overwrite the framework module, and maintaining other business modules by users.

Architecture

PANSHI

├─app Application main directory
│ ├─mgp Code auto-generation
│ │
│ ├─modules business modules
│ │ ├─pom Maven POM
│ │ │
│ │ ├─framework System framework module
│ │ │
│ │ ├─security security module/User authentication and login
│ │ │
│ │ ├─task Scheduled task module
│ │ │
│ ├─system Application system module
│ │ ├─resources Resources directory
│ │ │ │
│ │ │ ├─i18n Internationalization configuration
│ │ │ │
│ │ │ ├─mapper MyBatis Mapper XML directory
│ │ │ │
│ │ │ ├─application.yml Global default configuration
│ │ │ ├─application-pre.yml UAT environment configuration
│ │ │ ├─application-prod.yml Production environment configuration
│ │ │ ├─application-test.yml Test environment configuration
│ │ │ │
│ │ │ ├─ehcache.xml Local cache configuration file
│ │ │ │
│ │ │ ├─logback-spring.xml Logging configuration file
│ │ │ │
│ ├─web Web service
│ │
├─sql Database scripts
│ ├─sys.sql application structure database script (typically not modified)
│ │
│ ├─task.sql scheduled task module database script (typically not modified)
│ │
│ ├─app.sql init script for project

Configuration

default profile is dev for default running

example:

--spring.profiles.active=prod    

Environment Profiles:

ProfileRemark
defaultDevelopment environment (default)
testTesting environment
preStaging/UAT environment
prodProduction environment

License

This project under MIT License, allowing you to modify, distribute, and use it for commercial purposes in any form.