Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nbwsc/generator-koa-rest
- Owner: nbwsc
- Fork: true (PatrickWolleb/generator-koa-rest)
- Created: 2017-07-17T07:42:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T09:45:09.000Z (over 4 years ago)
- Last Synced: 2024-09-22T08:02:39.022Z (3 months ago)
- Topics: koa2, mongoose, yoeman-generator
- Language: JavaScript
- Size: 59.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.