magic-api 0.4.5 released, a framework for rapid interface development

This update content:

  • Added aggregate functions group,join
  • New aggregate functions max, min, avg,sum
  • Added parameter prompts and dynamic data source prompts
  • Added magic-api.thread-pool-executor-sizeparameter configuration to set the asyncsize of the statement thread pool
  • Fix headerthe problem of loss when restoring breakpoints
  • Fix the bug that the variable information is not correct when entering the breakpoint
  • Optimized magic-api.auto-import-package configuration, built-in automatic import java.lang.*,java.util.*
  • Optimize the asyncstatement execution mechanism and change to execute in the thread pool
  • Optimize code hints, add Chinese hints
  • Optimized 查看历史记录详情 SQL compatibility

 

Project Introduction

magic-api is an interface rapid development framework, scripts and configurations are written through web pages, and automatically mapped to HTTP interfaces, without the need to define Java objects such as Controller, Service, Dao, Mapper, XML, VO, etc.

How to use

maven introduction

<!-- 以spring-boot-starter的方式引用 -->
<dependency>
    <groupId>org.ssssssss</groupId>
    <artifactId>magic-api-spring-boot-starter</artifactId>
    <version>0.4.4</version>
</dependency

Modify application.properties

server.port =9999
 #Configure web page entrance 
magic.web =/magic/web
 #The following configuration needs to be modified 
according to the actual situation spring.datasource.url =jdbc:mysql://localhost/test
 spring.datasource.username =root
 spring. datasource.password =123456789
 spring.datasource.driver-class-name =com.mysql.jdbc.Drive

Execute table creation statement

Execute the db/magic-api.sql table creation statement in the source code 

Online editing

Access http://localhost:9999/magic/webto operate

Documentation & Demo

Project screenshot

Overall screenshot

Switch skin

Code hint

DEBUG

Guess you like

Origin www.oschina.net/news/119998/magic-api-0-4-5-released