X Tutup
The Wayback Machine - https://web.archive.org/web/20201208190628/https://github.com/mrfarhadir/loopback-client-api-gen
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

README.md

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-gen

or if you are using yarn

yarn add lb-api-gen global

How to Use It

First run your Loop Back API Server.

lb-api-gen

Answer few questions and enjoy It :)

loopback front-end api generator usage

and after generating, use It like this

loop back front-end API generator usage

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 ❤️ for you

About

loopback api generator for client side (Vue, React, Angular)

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.
X Tutup