Skip to content

Latest commit

 

History

History
1172 lines (1172 loc) · 24.4 KB

awesome-rest.md

File metadata and controls

1172 lines (1172 loc) · 24.4 KB

Awesome REST Awesome

A collaborative list of great resources about RESTful API architecture, development, test, and performance. Feel free to contribute to this on-going list.

Design

Standards

  • JSON API - Standard for building APIs in JSON.
  • RAML - Simple and succinct way to describe RESTful API.
  • JSend - Simple specification that lays down some rules for how JSON responses from web servers should be formatted.
  • OData - Open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs. Quite complex.
  • HAL - Simple format that gives a consistent and easy way to hyperlink between resources in your API (see: HATEOAS ).
  • JSON-LD - Standard for describing Linked Data and hypermedia relations in JSON (W3C).
  • Hydra - Vocabulary for Hypermedia-Driven Web APIs (W3C).
  • Schema.org - Collection of schemas describing common data models.
  • OpenAPI - Formerly known as the Swagger Specification, OpenAPI specifcation is the world’s most popular description format for defining Restful APIs.

Clients

PHP Clients

  • Guzzle - HTTP client and framework for consuming RESTful web services.
  • Buzz - Another lightweight HTTP client. ★ 1233, pushed 151 days ago
  • unirest for PHP - Simplified, lightweight HTTP client library. ★ 786, pushed 128 days ago

JavaScript Clients

  • restangular - AngularJS service to handle REST API properly and easily. ★ 7448, pushed 149 days ago
  • restful.js - JS client for interacting with server-side RESTful resources. ★ 520, pushed 191 days ago
  • traverson - A Hypermedia API/HATEOAS Client for Node.js and the Browser ★ 166, pushed 130 days ago
  • raml-client-generator - Generates static client libs for js. ★ 88, pushed 146 days ago

Node.js Clients

  • restler - REST client library for node.js. ★ 1783, pushed 160 days ago
  • unirest for Node.js - Simplified, lightweight HTTP client library. ★ 515, pushed 181 days ago

Ruby Clients

  • RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions. ★ 3324, pushed 126 days ago
  • Spyke - Interact with REST services in an ActiveRecord-like manner. ★ 439, pushed 237 days ago
  • excon - Usable, fast, simple Ruby HTTP 1.1. It works great as a general HTTP(s) client and is particularly well suited to usage in API clients. ★ 723, pushed 161 days ago
  • httparty - Makes HTTP fun again! ★ 3615, pushed 137 days ago
  • Net::HTTP - Net::HTTP provides a rich library which can be used to build HTTP user-agents.

Go Clients

  • gopencils - Small and simple package to easily consume REST APIs. ★ 342, pushed 228 days ago

Servers

Directly On Top Of A RMDB

  • postgrest - Serve a fully RESTful API directly from an existing PostgreSQL database. ★ 6716, pushed 126 days ago
  • MySQL HTTP plugin - Simple REST-like / CRUD server for any MySQL database.

Node.js

  • node-restify - Framework specifically meant for REST API. ★ 4970, pushed 128 days ago
  • Sails.js - Node.js Web framework embedding a command to generate automatically a REST API.
  • mers - Express service exposing Mongoose finders as RESTful API. ★ 335, pushed 441 days ago
  • Baucis - Build scalable REST API based on your Mongoose entities. ★ 563, pushed 181 days ago
  • flatiron/resourceful - Isomorphic Resource engine for JavaScript. ★ 348, pushed 601 days ago
  • loopback - Powerful Node.js framework for creating APIs and easily connecting to backend data sources.
  • Feathers - is a real-time, micro-service web framework that gives you control over your data via RESTful resources, sockets and flexible plug-ins.

PHP

  • Microrest - Micro-web application providing a REST API on top of any relational database. ★ 164, pushed 340 days ago
  • Negotiation - Content negotiation library. ★ 319, pushed 180 days ago
  • Drest - Library for exposing Doctrine entities as REST resource endpoints. ★ 71, pushed 181 days ago
  • Restler - Lightweight framework to expose PHP methods as RESTful web API. ★ 1074, pushed 129 days ago
  • HAL - Hypertext Application Language (HAL) builder library. ★ 164, pushed 161 days ago
  • Apigility - API builder built with Zend Framework 2. ★ 431, pushed 159 days ago
  • phprest - Specialized REST microframework for PHP. ★ 281, pushed 288 days ago
  • Hateoas - PHP library to support implementing representations for HATEOAS REST web services. ★ 628, pushed 160 days ago
  • Fusio - Open source API management platform.

Symfony2

Python

  • Django REST framework - Powerful and flexible toolkit that makes it easy to build Web APIs.
  • django-tastypie - Creating delicious APIs for Django apps.
  • flask-restful - Extension for Flask that adds support for quickly building REST APIs.
  • flask-restless - Flask extension for generating ReSTful APIs for database models defined with SQLAlchemy (or Flask-SQLAlchemy).
  • sandman - Automated REST APIs for existing database-driven systems. ★ 2219, pushed 188 days ago
  • restless - Framework agnostic REST framework based on lessons learned from TastyPie.
  • savory-pie - REST API building library (django, and others).
  • Python Eve - Eve is an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services.
  • Ramses - Makes RAML files executable by generating production-ready APIs from them at runtime.
  • Flask-Potion - Flask-Potion is a powerful Flask extension for building RESTful JSON APIs. It also provides several Clients for easier access to the API. ★ 331, pushed 146 days ago

Ruby

  • Grape - Opinionated micro-framework for creating REST-like APIs in Ruby.
  • Rails - RailsGuides: Using Rails for API-only applications.

Go

  • gocrud : Go library to simplify creating, updating and deleting arbitrary depth structured data — to make building REST services fast and easy. ★ 249, pushed 283 days ago
  • go-json-rest - Thin layer on top of net/http that helps building RESTful APIs easily. ★ 2302, pushed 127 days ago
  • sleepy - RESTful micro-framework written in Go. ★ 597, pushed 864 days ago
  • restit - Go micro framework to help writing RESTful API integration test.
  • go-relax - Framework of pluggable components to build RESTful API's. ★ 121, pushed 163 days ago
  • go-rest - Small and evil REST framework for Go. ★ 88, pushed 346 days ago
  • go-restful - A declarative highly readable framework for building restful API's. ★ 1586, pushed 128 days ago
  • Goat - Minimalistic REST API server in Go. ★ 84, pushed 151 days ago
  • Resoursea - REST framework for quickly writing resource based services. ★ 24, pushed 581 days ago
  • Zerver - Zerver is a expressive, modular, feature completed RESTful framework. ★ 127, pushed 143 days ago

Java

  • RestExpress - Netty-based, highly performant, lightweight, container-less, plugin-extensible, framework that is ideal for microservice architectures. ★ 597, pushed 128 days ago

Haskell

  • Rest for Haskell - This package allows you to create REST APIs in Haskell. These APIs can be run in different web frameworks. They can also be used to automatically generate documentation as well as client libraries. ★ 336, pushed 132 days ago

Testing

Querying

  • Hurl.it - Make HTTP requests with a simple web-based HTTP client -- like curl in the cloud.
  • httpie - Command line HTTP client, far more dev-friendly than curl . ★ 22333, pushed 130 days ago
  • Postman REST Client - Chrome extension essential to test manually REST API.
  • resty - Little command line REST client that you can use in pipelines (bash or zsh). ★ 1885, pushed 148 days ago
  • jq - Command line JSON processor, to use in combination with a command-line HTTP client like cURL. ★ 6555, pushed 143 days ago
  • HttpMaster - GUI tool for testing REST APIs and services. Windows OS only.
  • Http-console - Command line interface for HTTP that let you speak HTTP like a local ★ 1216, pushed 492 days ago

Mocking

  • RequestBin - Inspect and debug webhook requests sent by your clients or third-party APIs.
  • httpbin - HTTP request and response service - a/k/a Swiss Army Knife for HTTP.
  • FakeRest - Patch XMLHttpRequest to fake a REST API client-side. ★ 128, pushed 195 days ago
  • json-server - Serve a REST API from fixture files using quick prototyping. ★ 11821, pushed 132 days ago
  • Mocky.io - Free online service to create fake HTTP responses.
  • Swagger API Mock - Mock RESTful API based on swagger schema ★ 10, pushed 411 days ago

Public REST APIs To Use In Tests

Documentation

  • Swagger - Documentation/querying web interface for REST APIs.
  • API doc - Inline Documentation for RESTful web APIs.
  • raml2html - Generates HTML documentation from a RAML file. ★ 535, pushed 128 days ago
  • ReDoc - OpenAPI/Swagger-powered three-panel documentation.

SaaS tools

  • Runscope - Automated API Monitoring & Testing.
  • Ping-API - Automated API Monitoring & Testing.
  • import.io Magic - Create a REST API from any website in one click.
  • Apiary - Collaborative design, instant API mock, generated documentation, integrated code samples, debugging and automated testing.
  • Amazon API Gateway - Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
  • Apigee - Apigee is the leading provider of API technology and services for enterprises and developers.

Miscellaneous

  • ng-admin - Add an AngularJS admin GUI to any RESTful API. ★ 2751, pushed 137 days ago
  • swagger-codegen - Auto generation of client libraries or server stubs given an OpenAPI speification (formerly known as the Swagger Specification). ★ 2026, pushed 125 days ago

License

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License .