Coder Social home page Coder Social logo

zhouzhihu / sweet-api Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 1.48 MB

基于Spring Boot的插件化HTTP API快速接口开发框架,线上完成接口开发、调试和发布。

License: MIT License

Java 57.78% JavaScript 21.22% HTML 0.27% Vue 19.65% CSS 1.08%
api plugin rest-api spring-boot rest api-framework automatic-api http-api javascript http-api-generator

sweet-api's Introduction

简介 | 特性 | 文档 | 模块介绍 | 更新日志 | 项目截图

简介

Sweet-API是基于Java的HTTP API快速接口开发框架,线上完成接口开发、调试和发布,自动映射为HTTP接口。 无需定义Controller、Service、Dao、Mapper、XML、VO等Java对象即可完成常见的HTTP API接口开发。

技术架构

特性

  • 支持MySQL、达梦、Oracle、SQLServer等支持jdbc规范的数据库;
  • 支持非关系型数据库Redis、ElasticSearch;
  • 支持第三方接口API和WebService;
  • 支持多租户模式;
  • 支持多数据源配置,支持在线配置数据源;
  • 支持分页查询以及自定义分页查询;
  • 支持自定义JSON结果、自定义分页结果;
  • 支持运行时动态修改数据源;
  • 支持可插拔式的插件机制;
  • 支持数据库事务、SQL支持拼接,占位符,判断等语法;
  • 支持文件上传、下载、输出图片;

模块介绍

  • sweet-core:sweet-api向外提供的服务接口,包括:API执行器、数据源扩展、动态插件扩展、资源管理和多租户管理等接口。

  • sweet-api:实现sweet-api核心框架,包括动态API实现、GraalJS实现和内置插件实现等;

  • sweet-api-starterssweet-api启动器模块,可以理解为第三方接口的集成模块。包括多数据源管理以及扩展插件Excel、ElasticSearch、RabbitMQ、Redis、Wechat等插件的启动器实现;

  • sweet-api-plugins:利用sweet-core提供的服务接口扩展插件,同时提供操作API给sweet-editor使用。包括:ElasticSearch插件、Excel插件、RabbitMQ插件、Redis插件、Task插件和Wechat微信插件等;

  • sweet-api-spring-boot-starter:sweet-api提供的spring boot启动器;

  • sweet-api-web:采用Spring Boot技术为Sweet-Api提供数据存储,为Sweet-Editor提供RESTful API接口服务;

  • sweet-editor:前端在线编辑器,提供在线书写JavaScirpt脚本,线上完成接口开发、调试和发布;

项目截图

整体截图 API
插件 数据源
文件管理 执行器

sweet-api's People

Contributors

zhouzhihu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

sweet-api's Issues

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.