接口規(guī)范

接口框架

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

OpenAPI Specification

URL:https://openapis.org/

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

http://jsonapi.org/

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

JSONhttp://www.json.org/

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.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市捐祠,隨后出現(xiàn)的幾起案子碱鳞,更是在濱河造成了極大的恐慌,老刑警劉巖踱蛀,帶你破解...
    沈念sama閱讀 217,277評(píng)論 6 503
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件窿给,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡率拒,警方通過查閱死者的電腦和手機(jī)崩泡,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,689評(píng)論 3 393
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來猬膨,“玉大人角撞,你說我怎么就攤上這事〔眨” “怎么了谒所?”我有些...
    開封第一講書人閱讀 163,624評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長沛申。 經(jīng)常有香客問我劣领,道長,這世上最難降的妖魔是什么铁材? 我笑而不...
    開封第一講書人閱讀 58,356評(píng)論 1 293
  • 正文 為了忘掉前任尖淘,我火速辦了婚禮,結(jié)果婚禮上著觉,老公的妹妹穿的比我還像新娘村生。我一直安慰自己,他們只是感情好固惯,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,402評(píng)論 6 392
  • 文/花漫 我一把揭開白布梆造。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪镇辉。 梳的紋絲不亂的頭發(fā)上屡穗,一...
    開封第一講書人閱讀 51,292評(píng)論 1 301
  • 那天,我揣著相機(jī)與錄音忽肛,去河邊找鬼村砂。 笑死,一個(gè)胖子當(dāng)著我的面吹牛屹逛,可吹牛的內(nèi)容都是我干的础废。 我是一名探鬼主播,決...
    沈念sama閱讀 40,135評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼罕模,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼评腺!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起淑掌,我...
    開封第一講書人閱讀 38,992評(píng)論 0 275
  • 序言:老撾萬榮一對(duì)情侶失蹤蒿讥,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后抛腕,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體芋绸,經(jīng)...
    沈念sama閱讀 45,429評(píng)論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,636評(píng)論 3 334
  • 正文 我和宋清朗相戀三年担敌,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了摔敛。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,785評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡全封,死狀恐怖马昙,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情售貌,我是刑警寧澤给猾,帶...
    沈念sama閱讀 35,492評(píng)論 5 345
  • 正文 年R本政府宣布,位于F島的核電站颂跨,受9級(jí)特大地震影響敢伸,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜恒削,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,092評(píng)論 3 328
  • 文/蒙蒙 一池颈、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧钓丰,春花似錦躯砰、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,723評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽兰怠。三九已至,卻和暖如春李茫,著一層夾襖步出監(jiān)牢的瞬間揭保,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,858評(píng)論 1 269
  • 我被黑心中介騙來泰國打工魄宏, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留秸侣,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 47,891評(píng)論 2 370
  • 正文 我出身青樓宠互,卻偏偏與公主長得像味榛,于是被迫代替她去往敵國和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子予跌,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,713評(píng)論 2 354

推薦閱讀更多精彩內(nèi)容