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

https://github.com/arsevo/restify-gen


https://github.com/arsevo/restify-gen

api api-generator api-server

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

[![NPM Version][npm-image]][npm-url]
[![NPM License][npm-license]][npm-url]

[npm-image]: https://img.shields.io/badge/restify--gen-1.0.10-blue.svg
[npm-url]: https://www.npmjs.com/package/restify-gen
[npm-license]: https://img.shields.io/badge/license-MIT-blue.svg

## Installation

```sh
$ npm install -g restify-gen
```

## Quick Start

The quickest way to get started with restify-gen is to utilize the executable `restify-gen` to generate an api application as shown below:

Create the app:

```bash
$ restify-gen myappfolder
```

Install dependencies:

```bash
$ cd myappfolder

$ npm install
```

Start your app at `http://localhost:8080/`:

```bash
$ npm start
```

## Command Line Options

This generator can also be further configured with the following command line flags.

Usage: restify-gen [options] applicationfolder

Options:

-V, --version output the version number
-n, --appname api application name (default )
-d, --appdescription api application description (default My API Description)
-v, --apiversion api version (default 1.0.0)
-p, --port api port (default 8080)
-c, --clustered include cluster application file (clustered.js)
-f, --force clear contents of the application folder if exists
-h, --help output usage information

## License

[MIT](LICENSE)