Skip to content

Instantly share code, notes, and snippets.

Brian McBride Brian-McBride

Block or report user

Report or block Brian-McBride

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View genesis_public_key
04423751241947fb9591458093d5dbd427d23f7eceef01d613df04ac4486eff0e4af8b2f5a246b13acd352e8c5f0f2b78c130197d4323f3e3eed71c39ef964c005
View Feathers-ArangoDB-Connector.md

This is a start to get ArangoDB as a connector for FeathersJS

Dependencies

You'll need a few npm packages.

yarn add arangojs
yarn add uuid
yarn add clone-deep
@Brian-McBride
Brian-McBride / FeathersJS-Swagger-Validation.md
Last active Jan 16, 2018
Using swagger yaml files for validation in FeathersJS
View FeathersJS-Swagger-Validation.md

This process will allow you to use Swagger Yaml files for validation. I've only tried this with REST endpoints, however it seems this should work with real-time sockets as well.

Dependencies

You'll need a few npm packages.

yarn add swagger-tools
View gist:7d0bb70663d1829393a1
var _ = require('/lib/underscore');
/*
*This is the lightweight version I use based on Kevin Whinnery's one: https://gist.github.com/kwhinnery/1595307
* Wrapper for Titanium UI components. This wrapper provides a few pieces of critical
* functionality, currently missing from Titanium UI objects:
* - The ability to safely extend components with new members
* - Rudimentary resource management and object lifecycle handling
*
You can’t perform that action at this time.