Koa Demo

A service demo using koa and sequelize.
Alternatives To Koa Demo
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Graphql14,056
2 days ago
Awesome list of GraphQL
Nocobase4,368911 hours ago111August 15, 2022115agpl-3.0TypeScript
NocoBase is a scalability-first, open-source no-code/low-code platform to build internal tools.
React Blog712
3 months ago62mitJavaScript
react hooks + koa2 + sequelize + mysql 构建的个人博客。具备评论、通知、上传文章等等功能
Kails513
3 months ago3mitJavaScript
A Web App like Ruby on Rails with Koa2, Webpack and Postgres
Koa Restql440
7 years ago3mitJavaScript
Build real RESTful APIs without writing one line of code.
Egg Commerce248
5 years ago3JavaScript
Xanaducompany242
5 days agomitVue
企业门户网站管理系统,包括前台展示、后台管理、后端服务(Node.js、Koa、sequelize、MySQL),前端主要使用Vue+ElementUI。Vue3预览 https://company.zerotower.cn/ ;Vue2预览为下方链接。
Koa2 Blog140
4 years ago3HTML
第一个web项目,仿照cnode,欢迎新建账号试用
Eaglet117
5 years ago2mitTypeScript
最简單直接的 Koa2 的脚手架
Koa2 Ratelimit107172402 months ago20March 29, 202312mitJavaScript
Rate-limiting middleware for Koa2 ES6. Use to limit repeated requests to APIs and/or endpoints such as password reset.
Alternatives To Koa Demo
Select To Compare


Alternative Project Comparisons
Readme

koa-demo

A service demo using koa and sequelize.

Prerequisites

  • node.js version with harmony generators support (v0.11.9 is tested).
  • PostgreSQL running on port 5432 with no username/password -- database is named "blogs_db"
  • Redis (used for cache) running on port 6379

Usage

node --harmony app

Runs on http://localhost:3000, and is mounted on /v1

Examples

curl --data "name=Test%20Name" http://localhost:3000/v1/users
{
  "createdAt": "2014-01-02T19:53:41.919Z",
  "updatedAt": "2014-01-02T19:53:41.919Z",
  "name": "Test Name",
  "id": 1
}

curl http://localhost:3000/v1/users/1
{
  "id": 1,
  "name": "Test Name",
  "createdAt": "2014-01-02T19:53:41.919Z",
  "updatedAt": "2014-01-02T19:53:41.919Z"
}
Popular Sequelize Projects
Popular Koa Projects
Popular Data Processing Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Port
Koa
Sequelize