0.0.32 • Published 7 years ago
loopback-client-api-gen v0.0.32
Loop Back API Generator for Front-End
This Generator uses swagger API to generate JavaScript es6 classes for using Loop Back API Server.
How to Install
npm install -g loopback-client-api-genor if you are using yarn
yarn add lb-api-gen globalHow to Use It
First run your Loop Back API Server.
lb-api-genAnswer few questions and enjoy It :)

and after generating, use It like this

Each end point of model in Loop Back will be a method in this API class and for each method there is available HTTP request method. If you need to modify request header, pass header as object to first method constructor.
road map for HTTP methods:
- get
- post
- delete
- put
- patch
- head
road map for other feathers:
- Select models to include
- Select models to exclude
- select fk type of methods
any question ? Ask It :)
made with :heart: for you