{"id":19776585,"url":"https://github.com/ssssssss-team/magic-api-spring-boot-starter","last_synced_at":"2025-04-30T19:31:01.971Z","repository":{"id":37109867,"uuid":"261341497","full_name":"ssssssss-team/magic-api-spring-boot-starter","owner":"ssssssss-team","description":"magic-api的spring-boot-starter版本","archived":false,"fork":false,"pushed_at":"2023-09-25T00:09:24.000Z","size":182,"stargazers_count":48,"open_issues_count":2,"forks_count":30,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T04:12:12.029Z","etag":null,"topics":["api","http-api","http-api-generator","magic-api","restful-api","spring-boot-starter","sql","ssssssss","xml"],"latest_commit_sha":null,"homepage":"http://ssssssss.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssssssss-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-05T02:13:19.000Z","updated_at":"2025-01-21T01:39:33.000Z","dependencies_parsed_at":"2022-06-24T10:23:35.637Z","dependency_job_id":null,"html_url":"https://github.com/ssssssss-team/magic-api-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssssssss-team%2Fmagic-api-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssssssss-team%2Fmagic-api-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssssssss-team%2Fmagic-api-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssssssss-team%2Fmagic-api-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssssssss-team","download_url":"https://codeload.github.com/ssssssss-team/magic-api-spring-boot-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251769279,"owners_count":21640877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","http-api","http-api-generator","magic-api","restful-api","spring-boot-starter","sql","ssssssss","xml"],"created_at":"2024-11-12T05:20:40.903Z","updated_at":"2025-04-30T19:31:01.647Z","avatar_url":"https://github.com/ssssssss-team.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://images.gitee.com/uploads/images/2020/0516/214347_61254f60_297689.png\" width=\"600\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca target=\"_blank\" href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\"\u003e\u003cimg src=\"https://img.shields.io/badge/JDK-1.8+-green.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://search.maven.org/search?q=g:org.ssssssss%20AND%20a:magic-api\"\u003e\n        \u003cimg alt=\"maven\" src=\"https://img.shields.io/maven-central/v/org.ssssssss/magic-api.svg?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.ssssssss.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Docs-latest-blue.svg\"/\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/ssssssss-team/magic-api/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/ssssssss-team/magic-api?logo=github\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href='https://gitee.com/ssssssss-team/magic-api'\u003e\u003cimg src=\"https://gitee.com/ssssssss-team/magic-api/badge/star.svg?theme=white\" /\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href='https://github.com/ssssssss-team/magic-api'\u003e\u003cimg src=\"https://img.shields.io/github/stars/ssssssss-team/magic-api.svg?style=social\"/\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/:license-MIT-blue.svg\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://shang.qq.com/wpa/qunwpa?idkey=10faa4cf9743e0aa379a72f2ad12a9e576c81462742143c8f3391b52e8c3ed8d\"\u003e\u003cimg src=\"https://img.shields.io/badge/QQ群-720832964-blue\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[特性](#特性) | [快速开始](#快速开始) | [文档/演示](#文档演示) | [示例项目](#示例项目) | \u003ca target=\"_blank\" href=\"http://ssssssss.org/changelog.html\"\u003e更新日志\u003c/a\u003e | [项目截图](#项目截图) | [其它开源](#其它开源项目)\n\n# 简介\n\nmagic-api 是一个基于Java的接口快速开发框架，编写接口将通过magic-api提供的UI界面完成，自动映射为HTTP接口，无需定义Controller、Service、Dao、Mapper、XML、VO等Java对象即可完成常见的HTTP API接口开发\n\n# 特性\n- 支持MySQL、MariaDB、Oracle、DB2、PostgreSQL、SQLServer 等多支持jdbc规范的数据库\n- 支持非关系型数据库Redis、Mongodb\n- 支持分页查询以及自定义分页查询\n- 支持多数据源配置，支持运行时动态添加数据源\n- 支持SQL缓存，以及自定义SQL缓存\n- 支持自定义JSON结果、自定义分页结果\n- 支持对接口权限配置、拦截器等功能\n- 支持运行时动态修改数据源\n- 支持Swagger接口文档生成\n- 基于[magic-script](https://gitee.com/ssssssss-team/magic-script)脚本引擎，动态编译，无需重启，实时发布\n- 支持Linq式查询，关联、转换更简单\n- 支持数据库事务、SQL支持拼接，占位符，判断等语法\n- 支持文件上传、下载、输出图片\n- 支持脚本历史版本对比与恢复\n- 支持脚本代码自动提示、错误提示\n- 支持导入Spring中的Bean、Java中的类\n- 支持在线调试脚本引擎\n- 支持自定义工具类、自定义模块包、自定义类型扩展、自定义函数等\n\n# 快速开始\n\n## maven引入\n```xml\n\u003c!-- 以spring-boot-starter的方式引用 --\u003e\n\u003cdependency\u003e\n\t\u003cgroupId\u003eorg.ssssssss\u003c/groupId\u003e\n    \u003cartifactId\u003emagic-api-spring-boot-starter\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n## 修改application.properties\n\n```properties\nserver.port=9999\n#配置web页面入口\nmagic-api.web=/magic/web\n#配置文件存储位置。当以classpath开头时，为只读模式\nmagic-api.resource.location=/data/magic-api\n```\n\n## 在线编辑\n访问`http://localhost:9999/magic/web`进行操作\n\n# 文档/演示\n\n- 文档地址：[https://ssssssss.org](https://ssssssss.org)\n- 在线演示：[http://140.143.210.90:9999/magic/web](http://140.143.210.90:9999/magic/web)\n\n# 示例项目\n\n- [magic-api-example](https://gitee.com/ssssssss-team/magic-api-example)\n\n# 项目截图\n\n## 整体截图\n![整体截图](https://images.gitee.com/uploads/images/2020/1220/143206_a056da00_297689.png \"full.png\")\n## 切换主题\n![切换皮肤](https://images.gitee.com/uploads/images/2020/1220/143305_955ad124_297689.png \"skin.png\")\n## 代码提示\n![代码提示](https://images.gitee.com/uploads/images/2020/1220/143322_966caf97_297689.gif \"completion.gif\")\n## DEBUG\n![DEBUG](https://images.gitee.com/uploads/images/2020/1220/143340_b2d83a49_297689.gif \"debug.gif\")\n## 历史记录\n![历史记录](https://images.gitee.com/uploads/images/2020/1220/143412_d8414820_297689.png \"version.png\")\n\n# 其它开源项目\n- [magic-api](https://gitee.com/ssssssss-team/magic-api)\n- [magic-script，基于Java实现的脚本引擎](https://gitee.com/ssssssss-team/magic-script)\n- [magic-editor，本项目的前端UI](https://gitee.com/ssssssss-team/magic-editor)\n- [spider-flow，新一代爬虫平台，以图形化方式定义爬虫流程，不写代码即可完成爬虫](https://gitee.com/ssssssss-team/spider-flow)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssssssss-team%2Fmagic-api-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssssssss-team%2Fmagic-api-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssssssss-team%2Fmagic-api-spring-boot-starter/lists"}