trafficlight - 🚦 Flexible NodeJS Routing Decorators for API Routing

  •        27

Flexible NodeJS Routing Decorators for API Routing

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

Tags
Implementation
License
Platform

   




Related Projects

isomorphic-flux-boilerplate - ES7 Isomorphic Flux/ReactJS Boilerplate


A wonderfull boilerplate for Flux/ReactJS universal applications, running on koajs. Koa will be our server for the server side rendering, we use alt for our Flux architecture and react-router for routing in our app.

ts-express-decorators - :triangular_ruler: A TypeScript Framework on top of Express


Ts.ED is a framework on top of Express to write your application with TypeScript (or in ES6). It provides a lot of decorators to write your code. Important! TsExpressDecorators requires Node >= 6, Express >= 4, TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.

core-decorators - Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more


Library of JavaScript stage-0 decorators (aka ES2016/ES7 decorators but that's not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic. Similar to Annotations in Java but unlike Java annotations, decorators are functions which are applied at runtime. This can be consumed by any transpiler that supports stage-0 of the decorators spec, like babel.js version 5. Babel 6 does not yet support decorators natively, but you can include babel-plugin-transform-decorators-legacy or use the applyDecorators() helper.


lodash-decorators - A collection of decorators using lodash at it's core.


Decorators using lodash functions. View the API docs for more in depth documentation. This library requires Map and WeakMap to be available globally. If Map or WeakMap is not supported in your environment then use a polyfill.

babel-plugin-transform-decorators-legacy - A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5


This is a plugin for Babel 6 that is meant to replicate the old decorator behavior from Babel 5 in order to allow people to more easily transition to Babel 6 without needing to be blocked on updates to the decorator proposal or for Babel to re-implement it. If you are including your plugins manually and using transform-class-properties, make sure that transform-decorators-legacy comes before transform-class-properties.

route - Simple route middleware


Uber simple route middleware for koa. If you need a full-featured solution check out koa-router, a Koa clone of express-resource.

koa-router - Router middleware for koa.


Create a new router. Create router.verb() methods, where verb is one of the HTTP verbs such as router.get() or router.post().

universal-router - A simple middleware-style router for isomorphic JavaScript web apps


A simple middleware-style router that can be used in both client-side (e.g. React, Vue.js) and server-side applications (e.g. Node.js/Express, Koa).Play with an example on JSFiddle, CodePen, JS Bin in your browser or try RunKit node.js playground.

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.

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

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.