trafficlight - 🚦 Flexible NodeJS Routing Decorators for API Routing

  •        11

Flexible NodeJS Routing Decorators for API Routing

https://github.com/swimlane/trafficlight#readme

Tags
Implementation
License
Platform

   




Related Projects

Typeorm - Amazing ORM for TypeScript and JavaScript (ES7, ES6, ES5)


TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap and Ionic platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7). Its goal to always support latest JavaScript features and provide features that help you to develop any kind of applications that use databases - from small applications with a few tables to large scale enterprise applications with multiple databases.



koa-routing - Manage koa routes on right way


So here you can see that we are specifying handlers for route with r('module', 'method') pattern, and we are also following DRY principle when we define our routes.If you like this idea, you are on right place.

path-match - koa route middleware


[![NPM version][npm-image]][npm-url][![build status][travis-image]][travis-url][![Test coverage][coveralls-image]][coveralls-url][![Gittip][gittip-image]][gittip-url]A simple routing wrapper around [path-match](https://github.com/expressjs/path-match).Similar to [koa-route](https://github.com/koajs/route) except it doesn't check methods.All of these routers use [path-to-regexp](https://github.com/component/path-to-regexp)underneath, which is what Express uses as well.```jsvar route = require('ko

apollo-server - :earth_africa: GraphQL server for Express, Connect, Hapi and Koa


Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! It works with any GraphQL schema built with the graphql-js reference implementation.Apollo Server is super easy to set up. Just npm install apollo-server-<variant>, write a GraphQL schema, and then use one of the following snippets to get started. For more info, read the Apollo Server docs.

typeorm-routing-controllers-extensions - TypeORM and Routing-Controllers integration library.


This extension for TypeORM provides handy decorators that can be used with routing-controllers.All decorators can be used on properties and constructor arguments, e.g. you can use both property and constructor injection.

trie-router - Trie-routing for Koa


Trie-routing for Koa

class-validator - Validation made easy using TypeScript decorators.


Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser

typescript-koa-example - Example how to use Koa and TypeORM with TypeScript.


Example how to use Koa and TypeORM with TypeScript.

path - path-matching middleware for koa


Minimalistic router based on [path-to-regexp](https://github.com/component/path-to-regexp) and [path-match](https://github.com/expressjs/path-match).Does not handle methods, just URL routing.```jsvar route = require('koa-path')()app.use(route('/:user/:repo/:version/component.json', function* onComponentJSON() { // do stuff}))```

core-decorators.js


Library of ES2016 (ES7) JavaScript decorators inspired by languages that come with built-ins like @?override, @?deprecate, @?autobind, @?mixin and more! Works great with React/Angular/more!

strapi - :rocket: Node


The most advanced open-source Content Management Framework to build powerful API with no effort.We've been working on a major update to Strapi for several months now, rewriting the core framework and the administration panel. Performances has been increased, Developer eXperience has been improved and a brand new plugins ecosystem has been introduced. Both versions are available, we still recommend you to use v1 for production usage..

Koa - Expressive HTTP middleware framework for node.js


Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within core, and provides an elegant suite of methods that make writing servers fast and enjoyable.

node-web-starter-kit - Node, Express, Socket.io, React, Redux, ES6/ES7 (Babel), PostgreSQL


Node, Express, Socket.io, React, Redux, ES6/ES7 (Babel), PostgreSQL

class-sanitizer - Class-based sanitation in Typescript using decorators


Class-based sanitation in Typescript using decorators