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

This update content:

  • Added support for ClickHouse database
  • Fix ""the bug of incorrect code highlighting when defining an empty string
  • Repair conflict, the DynamicDataSourcerenamedMagicDynamicDataSource
  • Fix the bug of incorrectly calling overloaded methods with variable parameters
  • Fix the security problem of passing the user name and password when passing the configuration information to the page
  • Optimize the simulation test, put the header parameter in the http header  #I1Z6RE
  • Optimize login, prohibit using ESC key or enter key to close the login box

 

Project Introduction

magic-api is a rapid interface development framework. It can be used to write scripts and configurations through Web pages, and automatically map to HTTP interfaces without defining 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.1</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

Documents & Demo

Project screenshot

Overall screenshot

Switch skin

Code hint

DEBUG

Guess you like

Origin www.oschina.net/news/119441/magic-0-4-1-released