接口框架
https://pliik.github.io/gugamarket/Gugamarket is a fullstack REST API framework 奥帘,Nodejs + MongoDB
Fit for
OpenAPI DL
developer:https://github.com/pliik
BUILT WITH
Node
Swagger (REST Api documentation)
Express (MVC Framework)
Mongoose (MongoDB ORM)
mongoose-nested-set (Hierarquical Catalog Tree)https://github.com/groupdock/mongoose-nested-set
Jade (Template)
Passwordless (token email authentication)
Mocha (Unit Testing)
S
接口規(guī)范https://en.wikipedia.org/wiki/Interface_description_language
基于RESTful的DL比較https://en.wikipedia.org/wiki/Overview_of_RESTful_API_Description_Languages
developer: Open API Initiative (OAI), originally developed as "Swagger" specification byWordnik,SmartBear Software
3.0開始屹堰, MULE加入急侥,導(dǎo)致支持 RAML接口https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md
RESTful API Modeling Language(RAML)https://en.wikipedia.org/wiki/RAML_(software)
URL:http://raml.org/
developer: Mulesoft,http://www.mulesoft.com/
接口開發(fā)工具
http://swagger.io/Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment.
接口在線編輯器:http://editor.swagger.io/#/直接轉(zhuǎn)換出接口的STUB
Swagger Codegen can simplify your build process by generating server stubs and client SDKs from your Swagger specificationhttp://swagger.io/swagger-codegen/
商業(yè)工具http://swagger.io/commercial-tools/
http://swagger.io/open-source-integrations/
RAML
https://github.com/RJAPI/raml-json-api將RAML直接轉(zhuǎn)換為LARAVEL的接口辐董。
http://apiworkbench.com/docs/RAML集成開發(fā)環(huán)境鸠澈。API Workbench, a rich, full-featured integrated development environment (IDE) for designing, building, testing, documenting and sharing RESTful HTTP APIs. It supports both RAML 0.8 and the recently launched RAML 1.0.RAMLmakes it easy to manage the whole API lifecycle from design to sharing.
https://github.com/mulesoft/api-designerweb版本的開發(fā)工具
https://github.com/raml2html/raml2html將raml接口文檔轉(zhuǎn)換為HTML
https://github.com/mulesoft/api-consoleAn API console forRAML(Restful Api Modeling Language) documents. The RAML Console allows browsing of API documentation and in-browser testing of API methods.
其它自動(dòng)化 RESTFUL
https://github.com/api-platform/api-platformBuild modern, hypermedia APIs with ease, generate React applications from the API documentation.https://api-platform.com
https://github.com/api-platform/core
https://github.com/mevdschee/php-crud-apiSingle file PHP script that adds a REST API to a MySQL 5.5 InnoDB database. PostgreSQL 9.1 and MS SQL Server 2012 are fully supported. There is even limited support for SQLite 3.值得看
接口模擬工具?模擬接口
https://github.com/typicode/json-server
https://github.com/farolfo/raml-server
數(shù)據(jù)描述語言
json:api
Started as REST adapter forEmberData
JSON Schema
http://json-schema.org/implementations
used by OpenAPI, Google APIs Discovery,[6]I/O Docshttps://en.wikipedia.org/wiki/JSON#JSON_Schema
https://en.wikipedia.org/wiki/Open_Data_Protocol來自微軟膊夹,主流使用,由PHP, JS客戶端米绕。 適應(yīng)JSON瑟捣。 REST
https://en.wikipedia.org/wiki/GData來自谷歌, 與oData是競(jìng)爭(zhēng)性關(guān)系, REST
http://avro.apache.org/docs/current/#compareApache Avro? is a data serialization system. Avro provides functionality similar to systems such asThrift,Protocol Buffers,
數(shù)據(jù)序列化語言比較https://en.wikipedia.org/wiki/Comparison_of_data_serialization_formats
REST 服務(wù)描述語言
REST的介紹:
http://www.ruanyifeng.com/blog/2011/09/restful.html
http://www.oschina.net/translate/what-does-restful-really-mean
http://www.cnblogs.com/artech/p/3506553.html我所理解的RESTful Web API [設(shè)計(jì)篇]
http://www.cnblogs.com/artech/p/restful-web-api-01.html我所理解的RESTful Web API [Web標(biāo)準(zhǔn)篇]
關(guān)系資源的REST例子https://www.infoq.com/articles/rest-introduction
URI模板
PHP URI Template (RFC 6570) supports both URI expansion & extraction
https://github.com/rize/UriTemplatePHP URI Template (RFC 6570) supports both URI expansion & extraction
https://github.com/ioseb/uri-templatePHP extension implementation of RFC-6570(URI Template) in C使用方法例子介紹比較多
A JavaScript URI template implementation (RFC 6570 compliant)
https://github.com/bramstein/url-template
https://github.com/geraintluff/uri-templates
https://github.com/fxa/uritemplate-js
https://github.com/LuvDaSun/rfc6570RFC 6570 compliant uri template parser, builder and router
Vue.js + URI.js = a URI Templates playgroundhttps://github.com/BigBlueHat/vue-uri
https://en.wikipedia.org/wiki/RSDL
https://en.wikipedia.org/wiki/HATEOAS超媒體問題
https://en.wikipedia.org/wiki/Hypertext_Application_Language(類似hateoas
Laravel
直接講RAML轉(zhuǎn)換為LARAVEL接口實(shí)現(xiàn)https://github.com/RJAPI/raml-json-api將RAML直接轉(zhuǎn)換為LARAVEL的接口栅干。
https://github.com/slampenny/SwaggervelWhen you run your app in debug mode, Swaggervel will scan your app folder (or any folder that is set under the "app-dir" variable in the packages config), generate swagger json files and deposit them to the doc-dir folder (default is/docs). Files are then served by swagger-ui under the api-docs director.
https://github.com/DarkaOnLine/L5-SwaggerThis package is a wrapper ofSwagger-phpandswagger-uiadapted to work with Laravel 5.
https://github.com/DarkaOnLine/SwaggerLumeThis package is a wrapper ofSwagger-phpandswagger-uiadapted to work with Lumen 5.
Eloquent 與 jsonapi之間的轉(zhuǎn)換https://github.com/nilportugues/laravel5-jsonapi
讓laravel應(yīng)用與jsonapi兼容https://github.com/cloudcreativity/laravel-json-api
使用laravel建立jsonapi接口服務(wù)https://github.com/czim/laravel-jsonapi
oData
https://github.com/Algo-Web/POData-Laravel
https://github.com/AnitaYip/OData-Lumen
基于Laravel 實(shí)現(xiàn)Restful接口的教程Repository with the base code for the course "RESTful API with Laravel - Definitive-Guide"https://github.com/JuanDMeGon/RESTful-API-with-Laravel-Definitive-Guide
http://hateoas-php.org/https://github.com/willdurand/HateoasA PHP library to support implementing representations for HATEOAS REST web services , 支持HATEOAS
http://stateless.co/hal_specification.html
PHP Hypermedia API Wrapper for HATEOAS Enabled HTTP or REST Serviceshttps://github.com/solvire/php-hypermedia-api
Nodejs 客戶端
https://github.com/marmelab/restful.jsA pure JS client for interacting with server-side RESTful resources. Think Restangular without Angular.
https://github.com/traverson/traversonclient A Hypermedia API/HATEOAS Client for Node.js and the Browserhttps://github.com/traverson/traverson/blob/master/user-guide.markdown
OTHER
https://github.com/GoIntegro/hateoasThis is a library that uses a Doctrine 2 entity map and aRAMLAPI definition to conjure aHATEOASAPI, following theJSON-APIspecification.