No Description

wan fcfd107f41 추가 'print.js' 1 year ago
404 fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
base-auth fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
blog fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
body-parsing fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
compose fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
conditional-middleware 50bcadf73e migrate to koa@2 (#108) 3 years ago
cookies fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
csrf fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
errors fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
flash-messages fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
hello-world fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
multipart fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
negotiation fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
stream-file fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
stream-objects fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
stream-server-side-events 50bcadf73e migrate to koa@2 (#108) 3 years ago
stream-view fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
templates fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
upload 7378561645 fixed a bug (#123) 2 years ago
vhost fc7f25a73f Fix mocha version and unit tests (#117) 2 years ago
.editorconfig 829c2f57c6 Add .editorconfig (#92) 3 years ago
.eslintrc.yml 461339b15a Use eslint-config-koa (#114) 2 years ago
.gitignore 3f7b604d9d README.md files for stream-* examples; added ";"; ignore Traceur transpiler output directory; fix typo in comments 5 years ago
.jshintignore 67d9aedce6 simplify multipart example, add some comments 6 years ago
.travis.yml 6ee9f753a8 travis: test on node v8 2 years ago
Makefile 76f55514ca Add eslint 3 years ago
Readme.md 59c4db933e Add typescript template 2 years ago
package.json 461339b15a Use eslint-config-koa (#114) 2 years ago
print.js fcfd107f41 추가 'print.js' 1 year ago

Readme.md

Koa Examples

A repository containing small examples to illustrate the use of Koa for creating web applications and other HTTP servers.

Running tests

make test
make lint

Included Examples

Example Repositories

  • coko - A minimal convention over configuration framework/boilerplate for Koa 2.
  • kails - A Web App like Rails build with Koa v2, Webpack and Postgres
  • muffin - A content management system build on top of Koa v2
  • links - experimental content sharing and collaboration platform
  • component-crawler - crawl users and organizations for repositories with component.jsons
  • bigpipe - Facebook's BigPipe implementation in koa and component
  • webcam-mjpeg-stream - stream JPEG snapshots from your Mac
  • cnpmjs.org - Private npm registry and web for Enterprise, base on koa, MySQL and Simple Store Service
  • blog-mongo - the blog example from this repo, but using a MongoDb database, and tests
  • koa-rest - A simple app to demo REST API
  • koajs-rest-skeleton - A simple Koa REST Skeleton Application
  • koa-bookshelf - Koa example with CRUD, using MongoDB and Heroku comptability
  • todo - A todo example written in koa and react
  • koa-skeleton - A simple made-to-be-forked Koa app that uses Postgres and deploys to Heroku.
  • nodejs-docs-samples - An example Koa app and tutorial for deploying to Google App Engine
  • koa-passport-mongoose-graphql - Koa 2 starterkit using mongoose, graphql setup, and authentication with passport
  • hacknical - A website for github user to make a better resume, based on Koa v2, redis and mongoose.
  • koa-vue-notes-api - A fleshed-out SPA using Koa 2.3 on the backend and Vue 2.4 on the frontend. Includes fully featured user-authentication components, CRUD actions for the user's notes, and async/await.
  • koa-typescript-node - Template for building nodejs and typescript services. Features: MySql, Migrations, Docker, Unit & Integration Tests, JWT authentication, authorization, graceful shutdown, Prettier.

Boilerplates

Yeoman Generators

  • koa-rest - RESTful API scaffolder with subgenerator
  • koa - Web Application scaffolder
  • k - Web Application scaffolder with Chinese README

## Articles