@les-roberts/api_gateway
v1.0.1
Published
Get a full fake REST API with __zero coding__ in __less than 30 seconds__ (seriously)
Downloads
3
Readme
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