GithubHelp home page GithubHelp logo

danibram / ffra Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 4.47 MB

Tiny layer over Koa/fastify to make easier create Rest APIs

Home Page: https://github.com/danibram/ffra

TypeScript 97.63% JavaScript 2.33% HTML 0.04%
koa typescript framework auto-documentation swagger

ffra's Introduction

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 :

ffra's People

Contributors

danibram avatar

Watchers

 avatar  avatar  avatar

ffra's Issues

Query is limited to 100 rows by default

Check mongoose-operations.ts - line 71:

export const find = async function(
    model,
    query = {},
    limit = 100,
    skip = 0,
    count = false,
    sort = {}
) {

Should be a configurable number instead of a hard-coded one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.