The Wayback Machine - https://web.archive.org/web/20200611030201/https://github.com/topics/koa
Skip to content
#

Koa

koa logo

Koa is a new web framework designed by the team behind Express,

which aims to be a smaller, more expressive, and more robust foundation

for web applications and APIs. By leveraging async functions, Koa allows you

to ditch callbacks and greatly increase error-handling. Koa does not bundle any

middleware within its core, and it provides an elegant suite of methods that make

writing servers fast and enjoyable.

Here are 1,821 public repositories matching this topic...

amrsalama
amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.

**Sys

berwin
berwin commented Dec 2, 2015

git的快捷键 alias,加 oh-my-zsh应该是使用中比较实用的小技巧

在实际应用中,一遍一遍输入git status,git status,git commit -m 'xx'什么的确实挺繁琐,于是配置alias可以简化成 gst === git status,gcmsg 'xxx' === git commit -m 'xxx',gp === git push等等。。

大概是这样配置的

  • alias gst='git status'
  • alias gp='git push'
  • alias gp='git push'

而且还发现oh-my-zsh默认用的插件是git,查看oh-my-zsh的config

cat ~/.zshrc

其中有一条配置是

plugins=(git)

那么刨根问底拦不住,看看git插件的配置

`

bicarlsen
bicarlsen commented Jul 20, 2019

This isn't a bug, but it took me quite a long time to figure out, so thought others have struggled with the same issue.

When using the authenticate method, one must remember to both return the result, and call the function with the context. I thought it may be useful to include this explicitly in the documentation.

I created a [Stack Overflow question](https://stackoverflow.com/questions

Created by TJ Holowaychuk

Released December 19, 2013

Repository
koajs/koa
Website
koajs.com
You can’t perform that action at this time.