XBoot is a one-stop front-end and back-end separation rapid development platform. It is developed based on Spring Boot and Vue. It integrates Activiti workflow, Elasticsearch, Redis, etc., and provides supporting cross-end APP to help small and medium-sized enterprises and individuals achieve agile applications. Delivery and operation management, and provides business components such as code generators and universal front-ends to help developers focus on business and accelerate the digital transformation of small and medium-sized enterprises.
1. The code has detailed annotations and no complex logic. The core uses SpringBoot 2.4.8
2. JWT / Redis-based configurable single-device login Token interaction can be switched at will to provide an open platform, and the OAuth2 authentication center supports single-click login.
3. JPA + Mybatis-Plus can be switched at will
4. Operation logging mode can be switched between Mysql or Elasticseach records.
5. Java, Vue, and SQL code generation efficiency quadruples
6. Dynamic permission management, multi-dimensional easy control of permission button display, data permission management
7. Support social accounts, text messages and other multiple login methods without interfering with original user data to achieve third-party account management
8. Based on Websocket message push management, Quartz-based scheduled task management, and data dictionary management
9. The backend provides tools such as distributed current limiting, synchronization locks, and verification codes, and the front end provides rich Vue templates.
10. SMS, email, Vaptcha verification code, etc. can be dynamically configured
1. Install dependencies and start: Redis, Elasticsearch (required when configuring to use ES to record logs)
2. Maven installation and configuration in IDEA
3. It is recommended to use IDEA (cracked/free registration) to install the Lombok plug-in and then import the Maven project. If the dependencies are not automatically downloaded, please execute the mvn install command in the root directory.
4. Create a new xboot database in the MySQL database. The configuration file has enabled ddl to automatically generate the table structure but there is no initial data. Please remember to run the import xboot.sql file (when an error is reported and the Quartz related table cannot be found, please set the database to ignore case or re-import additionally. quartz.sql)
5. Modify the corresponding configuration of the configuration file application.yml, which has detailed comments. All configurations only need to be modified here.
6. Start and run XbootApplication.java in the compiler or execute the command mvn spring-boot:run in the root directory. The default port is 8888. The access interface document http://localhost:8888/doc.html indicates that the startup is successful. Administrator account password admin|123456
7. Please start the Vue-based xboot-front project on the front page and modify its interface proxy configuration.
Personal study use follows the GPL open source agreement
For commercial use please contact the author for authorization
PC
iPad Mini 5
iPhone X
System architecture
Technologies used in front-end
Vue 2.6.x, Vue Cli 4.x, iView, iview-admin, iview-area, Vuex, Vue Router, ES6, webpack, axios, echarts, cookies, etc.
The frontend is an independent project based on Vue+iView. Please jump to the xboot-front project warehouse to view it.
Technologies used in backend