项目作者: ricardocanelas

项目描述 :
Simple example using Koa + Knex
高级语言: JavaScript
项目地址: git://github.com/ricardocanelas/node-koa-knex-example.git
创建时间: 2019-05-05T17:28:18Z
项目社区:https://github.com/ricardocanelas/node-koa-knex-example

开源协议:MIT License

下载


😃 Simple example using Koa

Simple RESTful API implementation on Node.js + Express + Knex + Sqlite + Objection (ORM).


👉🏻 Prerequisites


👉🏻 Getting Started

Clone the repo and use yarn to install dependecies

  1. git clone https://github.com/ricardocanelas/node-koa-knex-example
  2. cd node-koa-knex-example/
  3. yarn install
  1. yarn db:migration
  2. yarn db:seed

Start server

  1. yarn start

Then visit http://localhost:3001

Test

  1. yarn test