DEV Community

💻 Arpad Kish 💻
💻 Arpad Kish 💻

Posted on

@greeneyesai/api-utils

A super-lightweight, fully typed TypeScript lib to help you implement versatile NodeJS REST APIs quickly. Enterprise-ready. Patterns include Model-View-Controller architecture, typed middlewares, Inversion of Control (DI) for Controller and Provider constructs, support for event-driven composition, a health check endpoint abstraction, declarative routing, CORS middleware, verbose error handling, worker-thread based asynchronous logging, support for graceful shutdown and runtime exception handling.

Providers included: an abstraction over Sequelize ORM for PostgreSQL supporting Trait-based extensions, a Redis client with full API support, an AWS S3 object storage client and an AWS SES email relay client.

Code examples are included on the NPM page.

NPM page: https://www.npmjs.com/package/@greeneyesai/api-utils
Current version: 1.11.11
Author: @rpi1337
License: GNU Lesser General Public License v3.0

© GreenEyes Artificial Intelligence Services, LLC.

Top comments (0)