Giter Site home page Giter Site logo

wuchunfu / lightapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from furinai/lightapi

0.0 1.0 0.0 175 KB

轻量接口生成工具,只需要一些必要配置和SQL语句即可生成一个接口

License: Apache License 2.0

Java 53.33% Shell 0.04% HTML 0.35% Vue 41.18% JavaScript 5.09%

lightapi's Introduction

LightAPI

介绍

轻量接口生成工具,只需要一些必要配置和SQL语句即可生成一个接口

持久层使用了MyBatis框架,支持MyBatis的动态SQL,动态SQL语法参考 MyBatis文档-动态SQL

理论上支持所有MyBatis框架支持的数据库,默认只有MySQL数据库的JDBC驱动,如果需要使用其它数据库,请自行添加对应的JDBC驱动依赖(MySQL驱动依赖是必需的),例如:

MariaDB
<dependency>
    <groupId>org.mariadb.jdbc</groupId>
    <artifactId>mariadb-java-client</artifactId>
    <scope>runtime</scope>
</dependency>
PostgreSQL
<dependency>
    <groupId>org.postgresql</groupId>
    <artifactId>postgresql</artifactId>
    <scope>runtime</scope>
</dependency>
Oracle
<dependency>
    <groupId>com.oracle.database.jdbc</groupId>
    <artifactId>ojdbc8</artifactId>
    <scope>runtime</scope>
</dependency>
SQL Server
<dependency>
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <scope>runtime</scope>
</dependency>
ClickHouse
<dependency>
    <groupId>ru.yandex.clickhouse</groupId>
    <artifactId>clickhouse-jdbc</artifactId>
    <version>0.3.1-patch</version>
    <scope>runtime</scope>
</dependency>

演示

新增数据源配置

新增数据源

新增接口配置-基础配置

新增接口配置-基础配置

新增接口配置-参数配置

新增接口配置-参数配置

新增接口配置-SQL配置

新增接口配置-SQL配置

查看接口

查看接口

测试接口

测试接口

lightapi's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.