Skip to content

Endlessworld/active-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

本项目是activejdbc-spring-boot-starter的演示项目 虽然只有数十行有效代码、但已经拥有了一定的实际使用价值

因此我将它命名为

ActiveAPI

ActiveAPI 零代码为你的数据提供通用CRUD接口,仅需配置数据源即可立即启动,并为指定数据库的每一张表 提供通用的REST CRUD接口

兼容性

由于功能专一且简单 本项目支持大部分主流数据库如 SQLite、PostgreSQL、Oracle、MySQL、MSSQL、H2、DB2、TiDB 以及各种兼容 MySQL、Oracle协议的其它数据库(未详尽测试、理论可行

activejdbc-spring-boot-starter 地址

打开方式

将本项目导入idea、修改application-native.yml配置文件 中的数据库和端口配置即可 然后执行maven打包 jar -jar 启动即可

在线接口地址

本地接口地址

spring:
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  main:
    allow-circular-references: true
  application:
    name: server
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    jdbcUrl: jdbc:mysql://127.0.0.1:3306/activiti?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
    username: root
    password: root
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
springfox:
  documentation:
    enabled: true
server:
  port: 9999

环境与依赖

  • graalvm jdk11
  • springboot 2.7.3
  • activejdbc-spring-boot-starter 1.0.1.RELEASE
  • activejdbc 3.1-j11
  • lombok

About

ActiveAPI 零代码为你的数据提供通用CRUD接口,仅需配置数据源即可立即启动,并为指定数据库的每一张表 提供通用的REST CRUD接口 支持大部分主流数据库

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages