@les-roberts/api_gateway
Get a full fake REST API with __zero coding__ in __less than 30 seconds__ (seriously)
Last updated 3 months ago by robertthibault .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @les-roberts/api_gateway 
SYNC missed versions from official npm registry.

Api Gateway

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

Table of contents

Getting started

Install Api Gateway

$ npm install -g @roberts/api_gateway

Server Configuration Format

ServerConfig {
  port: string;
}

Router Collection Format

RouterCollection {
  endpoint: string;
  base_url: string[];
  strategy: string;
}

Warning!!! Use a table of RouterCollection

[
  {
    endpoint: string;
    base_url: string[];
    strategy: string;
  },
  ...
],

Element to import

class LesRobertsServerApiGateway
interface ServerConfig
interface RouterCollection

License

Licence MIT

Current Tags

  • 1.0.1                                ...           latest (3 months ago)

2 Versions

  • 1.0.1                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (15)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |