一个方便查看数据库转换rest/graphql api 的开源软件的github 项目

https://github.com/dbohdan/automatic-api 是一个不错的github 知识项目,帮助我们
列出了,常见的的数据库可以直接转换为rest/graphql api 的开源项目

Project name/linkDatabase(s) supportedAPI typeImplementation languageLicenseGitHub statsNotes
ArangoDBArangoDBRESTC++Apache 2.06645 ★; 43790 commits, latest 2018-11-05A database with a built-in REST API. Official Docker image.
CouchDBCouchDBRESTErlangApache 2.03907 ★; 11333 commits, latest 2018-10-29A database with a built-in REST API. Official Docker image.
DatasetteSQLite 3RESTPython 3Apache 2.02072 ★; 565 commits, latest 2018-11-05Read-only. Official Docker image.
DgraphDgraphGraphQL+-, a GraphQL derivativeGoApache 2.06687 ★; 2687 commits, latest 2018-11-06A database with a built-in GraphQL-like API. Official Docker image.
DreamFactoryMySQL, PostgreSQL, SQLite, MongoDB, CouchDB, and others.RESTPHP 5Apache 2.0, proprietary (optional extras)859 ★; 813 commits, latest 2018-09-19Official Docker image.
EveMongoDB; extensions for Elasticsearch, Neo4j, SQLAlchemy (SQL databases).RESTPython 2/3BSD (three-clause)5316 ★; 2910 commits, latest 2018-10-11The SQLAlchemy extension isn't automatic. It requires the user to write SQLAlchemy mappings.
Hasura GraphQL EnginePostgreSQLGraphQLHaskellGNU AGPLv34830 ★; 406 commits, latest 2018-11-04Official Docker image.
HTSQLMySQL, PostgreSQL, SQLite (free); Oracle, MS SQL (proprietary)RESTPython 2GNU AGPLv3, proprietary (Oracle and MS SQL support)n/a 
neo4j-graphqlNeo4jGraphQLKotlinApache 2.0247 ★; 129 commits, latest 2018-05-16Can generate a GraphQL API from an existing database or derive a new database model from a GraphQL schema and auto-generate the resolvers.
OrientDBOrientDBRESTJavaApache 2.03651 ★; 17526 commits, latest 2018-11-05A database with a built-in REST API. Official Docker image.
PHP-CRUD-APIMySQL, PostgreSQL, MS SQL Server.RESTPHP 7MIT1763 ★; 1279 commits, latest 2018-11-04Supports GIS + automatic OpenAPI 3.0 docs.
PostGraphilePostgreSQLGraphQLTypeScript (Node.js)MIT6239 ★; 988 commits, latest 2018-11-02Formerly "PostGraphQL", Official Docker image.
PostgRESTPostgreSQLRESTHaskellMIT11464 ★; 1432 commits, latest 2018-10-21Official Docker image.
pRESTPostgreSQLRESTGoMIT1863 ★; 440 commits, latest 2018-09-04Official Docker image.
RESTHeartMongoDBRESTJavaGNU AGPLv3503 ★; 1540 commits, latest 2018-10-19Official Docker image.
sandman2All supported by SQLAlchemy (MySQL, PostgreSQL, SQLite, Oracle, MS SQL, and others).RESTPython 2/3Apache 2.0844 ★; 142 commits, latest 2018-10-29 
subZeroPostgreSQLREST and GraphQLHaskell, LuaProprietaryn/a 
tuqlSQLite 3 or SQL infileGraphQLJavaScript (Node.js)MIT281 ★; 52 commits, latest 2018-02-16 
WebdisRedisRESTCBSD (two-clause)2059 ★; 399 commits, latest 2018-08-11Supports pub/sub with chunked transfer encoding and WebSockets.
xmysqlMySQLRESTJavaScript (Node.js)MIT3356 ★; 266 commits, latest 2018-09-28Official Docker image.
ZenQueryPostgreSQL, MySQL, IBM Db2, Oracle Database, Microsoft SQL Server and othersRESTJava (JavaScript for the front-end)Apache 2.034 ★; 283 commits, latest 2018-10-16Read-only.
 
 
 
 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
graphql-spqr 是一个 Java 库,用于构建 GraphQL API。 它基于 GraphQL 规范,并提供了一组注解和API,使开发人员可以轻松地将 Java转换GraphQL 查询和变异。 它允许开发人员使用 Java 标准库和其他第三方库,以及使用 Spring,JAX-RS 和 SparkJava 等框架来构建 GraphQL API。 以下是 graphql-spqr 提供的一些主要功能: 1. 使用注释来定义 GraphQL 模式:graphql-spqr 提供了一组注释,使开发人员可以在 Java 类上定义 GraphQL 模式。开发人员可以使用这些注释来指定类型、字段和参数,以及它们在 GraphQL 模式中的名称和描述。 2. 自动生成 GraphQL 模式:graphql-spqr 可以根据 Java 类的注释自动生成 GraphQL 模式。这使得开发人员可以节省大量时间和精力,而无需手动编写模式。开发人员只需要在 Java 类上添加注释,graphql-spqr 就会自动生成相应的 GraphQL 模式。 3. 支持复杂类型:graphql-spqr 支持 Java 中的复杂类型,例如枚举、数组、列和映射。开发人员可以轻松地将这些类型映射到 GraphQL 模式中。 4. 支持数据加载器:graphql-spqr 支持数据加载器,这是一种优化 GraphQL 查询性能的常用技术。数据加载器可以将多个查询合并为单个查询,并缓存查询结果以提高性能。 5. 支持扩展和自定义:graphql-spqr 允许开发人员使用扩展和自定义来实现更高级的功能。开发人员可以编写自定义解析器、类型转换器和数据加载器,以及使用插件来扩展 graphql-spqr 的功能。 总之,graphql-spqr 是一个功能强大的 Java 库,使开发人员可以轻松地构建 GraphQL API。它提供了一组注释和API,使开发人员可以使用 Java 类来定义 GraphQL 模式,并自动生成相应的 GraphQL 模式。它还支持复杂类型、数据加载器和自定义扩展,使得开发人员可以实现更高级的功能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值