All Projects → restify → Node Restify

restify / Node Restify

Licence: mit
The future of Node.js REST development

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Node Restify

Swagger Express Middleware
Swagger 2.0 middlware and mocks for Express.js
Stars: ✭ 543 (-94.75%)
Mutual labels:  rest-api, server
Watsonwebserver
Watson is the fastest, easiest way to build scalable RESTful web servers and services in C#.
Stars: ✭ 125 (-98.79%)
Mutual labels:  rest-api, server
Ipokemon Server
iPokeMon Server.
Stars: ✭ 119 (-98.85%)
Mutual labels:  rest-api, server
Deepdetect
Deep Learning API and Server in C++14 support for Caffe, Caffe2, PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE
Stars: ✭ 2,306 (-77.69%)
Mutual labels:  rest-api, server
Kanary
A minimalist web framework for building REST APIs in Kotlin/Java.
Stars: ✭ 319 (-96.91%)
Mutual labels:  rest-api, server
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (-66.64%)
Mutual labels:  rest-api, server
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-98.18%)
Mutual labels:  rest-api, server
Glass Isc Dhcp
Glass - ISC DHCP Server Interface
Stars: ✭ 486 (-95.3%)
Mutual labels:  rest-api, server
Boilerplate Nodejs Swagger
A Node.js RESTful API application boilerplate with TypeScript, Docker, Koa, Swagger, Jest, and CircleCI
Stars: ✭ 21 (-99.8%)
Mutual labels:  rest-api, server
Knowledge
文档着重构建一个完整的「前端技术架构图谱」,方便 F2E(Front End Engineering又称FEE、F2E) 学习与进阶。
Stars: ✭ 1,620 (-84.33%)
Mutual labels:  server
Hummingbird
Lightweight, flexible HTTP server framework written in Swift
Stars: ✭ 114 (-98.9%)
Mutual labels:  server
Overwatch Api
A RESTful API for the Overwatch Game
Stars: ✭ 112 (-98.92%)
Mutual labels:  rest-api
Twisk
Golang RPC starter kit with Twirp
Stars: ✭ 113 (-98.91%)
Mutual labels:  rest-api
Express Rest Boilerplate
⌛️ Express starter for building RESTful APIs
Stars: ✭ 1,794 (-82.64%)
Mutual labels:  rest-api
Restup
Webserver for universal windows platform (UWP) apps
Stars: ✭ 112 (-98.92%)
Mutual labels:  rest-api
Xtcp
A TCP Server Framework with graceful shutdown, custom protocol.
Stars: ✭ 116 (-98.88%)
Mutual labels:  server
Pretty Swag
Pretty UI for Swagger spec
Stars: ✭ 112 (-98.92%)
Mutual labels:  rest-api
Node Hot Loader
Hot module replacement (hot reload) for Node.js applications. Develop without server restarting.
Stars: ✭ 111 (-98.93%)
Mutual labels:  server
Laravel Parse
A Parse SDK bridge for Laravel 5
Stars: ✭ 116 (-98.88%)
Mutual labels:  server
Dinoloop
Rest API framework built on top of expressjs powered by Typescript.
Stars: ✭ 115 (-98.89%)
Mutual labels:  rest-api

alt text

restify

Build Status Dependency Status devDependency Status code style: prettier

restify is a framework, utilizing connect style middleware for building REST APIs. For full details, see http://restify.com

Follow restify on alt text

Usage

Server

var restify = require('restify');

const server = restify.createServer({
  name: 'myapp',
  version: '1.0.0'
});

server.use(restify.plugins.acceptParser(server.acceptable));
server.use(restify.plugins.queryParser());
server.use(restify.plugins.bodyParser());

server.get('/echo/:name', function (req, res, next) {
  res.send(req.params);
  return next();
});

server.listen(8080, function () {
  console.log('%s listening at %s', server.name, server.url);
});

Client

var assert = require('assert');
var clients = require('restify-clients');

var client = clients.createJsonClient({
  url: 'http://localhost:8080',
  version: '~1.0'
});

client.get('/echo/mark', function (err, req, res, obj) {
  assert.ifError(err);
  console.log('Server returned: %j', obj);
});

Installation

$ npm install restify

Supported Node Versions

Restify aims to support the Node.js LTS (Active and Maintenance) versions along with Node.js current stable version.

Node Release Supported in Current Version Notes
11.x Yes Current stable
10.x Yes Active LTS
8.x Yes Maintenance LTS
6.x No Use restify v7.x, team will backport critical issues only
4.x No Use restify v7.x, team will backport critical issues only

License

The MIT License (MIT)

Copyright (c) 2018 restify

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Bugs

See https://github.com/restify/node-restify/issues.

Other repositories

  • For the errors module, please go here.

Mailing list

See the Google group .

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].