Separation scaffolding ApiBoot Admin v1.0 released the first edition based around ApiBoot, Vue's

ApiBoot Admin

Examples of scaffolding program to address next-generation interface services on the basis of the framework "ApiBoot" before and after separation management platform.

Source

ApiBoot Admin:https://gitee.com/minbox-projects/api-boot-admin

ApiBoot:https://gitee.com/minbox-projects/api-boot

If you like, please give warehouse a star, very grateful for the support open source! ! !

I. birth

In order to give ApiBootusers demonstrate the integration of the various components of use, thus ApiBootAdminit was born! ! !

As ApiBootis written in pure Java back-end components of the basic framework, in order to combine the actual development scenario, it will be vue-element-adminintegrated into ApiBootAdminthe show as a front end, in order to create a simple 前后端分离demo environment.

Tips: You can admin-servicesproject from ApiBootAdminindependent service as an interface due to internal unified configuration provides some commonly used constants, foundation, etc., can second development on its basis.

II. Source directory

ApiBootAdminIt is a demonstration project before and after separation.

1. The interface section (admin-services)

Interface provides the background for the front-end framework supporting data, and full use of ApiBootcomponents within provided by the written component uses the following list (click directly take you to the assembly's official documentation):

  1. ApiBoot OAuth
  2. ApiBoot Security
  3. ApiBoot Logging
  4. ApiBoot Logging Admin
  5. ApiBoot MyBatis Enhance
  6. ApiBoot MyBatis Enhance Codegen
  7. ApiBoot MyBatis Pageable
  8. ApiBoot Swagger
  9. ApiBoot DataSource Switch
  10. ApiBoot Resource Load
  11. ApiBoot Rate Limiter
  12. ApiBoot Quartz
  13. ApiBoot Aliyun Mail
  14. ApiBoot Aliyun OSS
  15. ApiBoot Aliyun SMS
  16. ApiBoot Message Push

2. The front end portion (admin-ui)

Front-end flower pants provide the vue-element-adminintegration framework, using detailed please visit vue-element-adminthe official documentation .

Log server (admin-log-server)

Based ApiBootLoggingAdmincomponents are built for service acquisition interface ( admin-services) all the generated log information recorded in the database, and ( 请求日志, , ).链路日志全局日志

III. Operating Environment

  • JDK 1.8+
  • MySQL 5.5+
  • NodeJs 10.18.0
  • 6.13.4 asl

IV. Local operation

1. Create a database

Please copy the warehouse api-boot-admin.sql contents of the script to create the database itself locally.

2. Download Source

  1. git clone [email protected]:minbox-projects/api-boot-admin.git

3. Compile the project

  1. # 进入api-boot-admin目录
  2. ➜ cd api-boot-admin
  3. # 在api-boot-admin根目录打包项目
  4. ➜ api-boot-admin git:(master) ✗ mvn clean package

4. Start logging service

  1. ➜ api-boot-admin git:(master) ✗ cd admin-log-server
  2. ➜ admin-log-server git:(master) ✗ java -jar target/admin-log-server-0.1.0.RELEASE.jar

5. Start Interface

  1. ➜ api-boot-admin git:(master) ✗ cd admin-services
  2. ➜ admin-services git:(master) ✗ java -jar target/admin-services-0.1.0.RELEASE.jar

6. Run background

  1. # 安装npm依赖包
  2. ➜ admin-ui git:(master) ✗ npm install
  3. # 运行开发环境
  4. ➜ admin-ui git:(master) ✗ npm run dev

After the successful launch of the background, visit http: // localhost: 9527 / can see the following interface:

In the api-boot-admin.sqluser information database logon script.

Username: hengboy, Password: 123456

Home is just an example of the chart component. For dynamic data can be read to understand vue-element-admin.

Function within the module is already complete, the interface used in admin-services/org.minbox.framework.api.boot.admin.api.SystemUserApithe controller, view the source code can understand the ApiBootuse of the individual components.

Guess you like

Origin www.oschina.net/news/112639/apiboot-admin-1-0-released