@ffra/service

Class definitions of common api errors


Keywords
ffra, service, koa, framework, typescript, swagger, auto-documentation
Install
npm install @ffra/service@0.2.0

Documentation

fast-framework-rest-api

Set of utils to create fast apis with auto documentation

Comming soon

Package Version Description Type
errors npm Common HTTP errors extendeing JS native Error Generalist
mongoose-reconnector npm Mongoose reconector manager Generalist
route-designer npm Router to define routes in a functional style Generalist
service-mongoose npm Mongoose Service for architectural definition of services with mongoose Generalist
service-nedb npm Nedb Service for architectural definition of services with nedb Generalist
service npm General service that are extend from the other services Generalist
koa npm All koa integration Koa dependant
fastify npm All fastify integration Fastify dependant
DEPRECATED PACKAGES from > 1.0
swagger npm DEPRECATED: use @ffra/koa/swagger. Swagger helpers to write easy basic documentation Koa dependant Koa dependant
koa-rest-mongoose npm DEPRECATED: use @ffra/koa/rest.use Mongoose shortcuts for creating rest services Koa dependant
error-handler-koa npm DEPRECATED: use @ffra/koa/error-handler.use General Error Handler for koa Koa dependant
autorun npm DEPRECATED: use @ffra/koa/register or @ffra/koa.use Autorun function for easy start Koa dependant

Examples

There are 2 integrations koa and fastify :