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.
PROJECT | TYPE | LINKS |
---|---|---|
Panshi | Backend | https://gitee.com/xiaobolinet/panshi.git |
Nichang | Frontend | https://gitee.com/xiaobolinet/nichang.git |
Demo | Demo | https://www.xiaobo.li/nichang/demo/ |
Code Repository
https://gitee.com/xiaobolinet/panshi.git
https://github.com/xiaobolinet/qiyuan.git
Modules
Module | Remark |
---|---|
app/modules/pom | POM and dependency version management |
app/modules/framework | System framework support module (see: Note 1) |
app/modules/security | Security module (User authentication and login) |
app/modules/task | Scheduled task module |
app/modules/mgp | Code auto-generation module |
app/system | global system module |
app/web | Web service module |
app/pom.xml | Project POM file |
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:
Profile | Remark |
---|---|
default | Development environment (default) |
test | Testing environment |
pre | Staging/UAT environment |
prod | Production environment |
License
This project under MIT License, allowing you to modify, distribute, and use it for commercial purposes in any form.