rsv

restify-sequelize-validation

Aplies Sequelize Model Validation on a Multitenancy Node JS Application based on Restify

Showing:

Popularity

Downloads/wk

1

GitHub Stars

0

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

0

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Sequelize Model Validations Middleware for Restify

A small library for multi-tenancy resify applications that applies Sequelize Model Validation upon request bodies based on a given Sequelize Model name.

Installation

npm install restify-sequelize-validation

Usage

const validating = require('restify-sequelize-validation');
server.post(<endpoint>, validating(<restifyServerInstance>, <modelName>, <multiTenantModelsInstance), <yourOwnMethodToProcess>);

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial