Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nbwsc/generator-koa-rest

RESTful API Yeoman generator for Koa.js apps
https://github.com/nbwsc/generator-koa-rest

koa2 mongoose yoeman-generator

Last synced: 3 months ago
JSON representation

RESTful API Yeoman generator for Koa.js apps

Awesome Lists containing this project

README

        

# Yeoman koa RESTful generator

[![wercker status](https://app.wercker.com/status/31763c5edc39aba7abf78a39d56d8cf3/m "wercker status")](https://app.wercker.com/project/bykey/31763c5edc39aba7abf78a39d56d8cf3)

## Feature

koa2.x you can use async/await .
add mongoose for mongodb driver as default

## Install

To install generator-koa-start from npm, run:

```bash
npm install -g generator-koa-start
```

Initiate the generator an empty project directory:

```bash
yo koa-start
```
## Usage
Creating a restful resource:

```bash
yo koa-start:resource cars
```

## folked from [this](https://github.com/PatrickWolleb/generator-koa-rest)
which is based on Koa1.x & use generator instead of async/await .
And some dependence need to be updated

## License

Licensed under the MIT license.