loopback api generator for client side (Vue, React, Angular)
This Generator uses swagger API to generate JavaScript es6 classes for using Loop Back API Server.
npm install -g loopback-client-api-gen
or if you are using yarn
yarn add lb-api-gen global
First run your Loop Back API Server.
lb-api-gen
Answer 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.
any question ? Ask It :)
made with ❤️ for you