Giter Site home page Giter Site logo

Mention koa-router & friends about discussions HOT 7 OPEN

koajs avatar koajs commented on May 5, 2024 5
Mention koa-router & friends

from discussions.

Comments (7)

odinho avatar odinho commented on May 5, 2024 2

Yes, that would be most useful. The wiki list has way too many items and no way to meaningfully add one, I'd like to just have a set of recommended (conservative) middleware without having to investigate them all individually.

Having gone through some of the projects on the wiki list, some are abandoned, some feel abandoned, some personal projects, some are unclear on the Koa 2 support etc. Koa 2 is a breath of fresh air with regards to the basic API, but it'd be nice with a pointer to some 'this goes great with' batteries.

from discussions.

fl0w avatar fl0w commented on May 5, 2024

There's https://github.com/koajs/koa/wiki

from discussions.

saadq avatar saadq commented on May 5, 2024

Yeah, there's no mention of a router, but it does have a section with links that includes the wiki:

screen shot 2017-08-17 at 12 41 49 pm

and the main app.use section on the website also has a link to the middleware part of the wiki:

screen shot 2017-08-17 at 12 42 06 pm

from discussions.

andywer avatar andywer commented on May 5, 2024

See, my problem was not that it is not documented, but that is a quite necessary thing to do anything usable and it was pretty hard to find. I like the modularity approach, but it would help a lot to have a few suggestions of important middlewares in a prominent place :)

from discussions.

usmandap avatar usmandap commented on May 5, 2024

@andywer You are right brother I also face the same thing that there is nothing mention in there docs for the routing. That's why I had updated their Koa vs Express doc file and mentioned that there is third party library support available for handling routing. Check this doc in the last I had added a section "Koa routing (third party libraries support)".
https://github.com/koajs/koa/blob/master/docs/koa-vs-express.md

from discussions.

jonathanong avatar jonathanong commented on May 5, 2024

my preferred solution would be to create a wiki of "recommended" middleware to get your app running, then linking to that in the official docs. the official docs, however, should remain minimal

from discussions.

jonathanong avatar jonathanong commented on May 5, 2024

a link here would be great on the docs https://github.com/koajs/koa/wiki#routing-and-mounting

if there are any middleware that are no longer maintained, please open an issue in that repo. if they don't answer, feel free to remove it from the wiki!

from discussions.

Related Issues (20)

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.