2017 © Pedro Peláez
 

library zf-apigility-admin-ui

Apigility Admin UI module

image

zfcampus/zf-apigility-admin-ui

Apigility Admin UI module

  • Monday, December 19, 2016
  • by zendframework
  • Repository
  • 16 Watchers
  • 34 Stars
  • 487,010 Installations
  • JavaScript
  • 4 Dependents
  • 0 Suggesters
  • 45 Forks
  • 21 Open issues
  • 28 Versions
  • 6 % Grown

The README.md

Apigility Admin UI (develop branch)

Repository abandoned 2019-12-31

This repository has moved to laminas-api-tools/api-tools-admin-ui., (*1)

This is the source code for the new Apigility Admin User Interface. We rewrote from scratch the UI in AngularJS with performance improvement and usability., (*2)

We added some new features:, (*3)

  • Doctrine support for DB connected REST service;
  • DB autodiscovering for table and fields;
  • Build package API file, ready for deployment (develop in progress, see TODO list);
  • Per-API authentication (develop in progress, see TODO list);

Note, (*4)

To be able to run the new UI you need to use the develop branch of zf-apigility-skeleton For instance, you can install the develop branch using composer:, (*5)

composer create-project zfcampus/zf-apigility-skeleton apigility dev-develop
  

This command install the zf-apigility-skeleton application in the apigility local folder., (*6)

Requirements

  • npm, for installing the various development requirements, which primarily includes Grunt and Bower, and tools these to utilize.
  • Grunt must be installed globally in order to allow using it to serve a source build and run tests.
  • Bower must be installed globally in order to allow using it to install development dependencies.

Run the following command from this directory to install dependencies:, (*7)

$ npm install

If you have not yet installed Grunt, please do so:, (*8)

$ sudo npm install -g grunt

If you have not yet installed Bower, please do so:, (*9)

$ sudo npm install -g bower

Finally, invoke Bower to install the relevant CSS and JS libraries:, (*10)

$ bower install

Invoking the Admin

There are three ways to invoke the Admin UI: as part of an Apigility project, standalone via node, or via source using grunt., (*11)

Via Apigility

Add the admin as a dev requirement to your project:, (*12)

$ composer require-dev "zfcampus/zf-apigility-admin-ui:~1.0"

and add the module ZF\Apigility\Admin\Ui to the list of modules in config/development.config.php.dist (and potentially config/development.config.php if already in development mode., (*13)

Navigating to the URI /apigility/ui in your Apigility application will now hit the UI., (*14)

Standalone

The standalone method fires up a webserver using node. This method requires that you have a running Apigility Admin API and know the URL, and that that server is configured to enable CORS; see the Apigility CORS documentation if you need help setting this aspect up. Make a note of the URI for your server; the API URI will be <server>/apigility/api., (*15)

Additionally, we recommend noting the URI to your API documentation, so that the navigation item can point to it., (*16)

Fire up the admin UI using:, (*17)

$ node index.js --src --api=<URI to Apigility Admin API (ends in /apigility/api)>

(For help with options, see node index.js -h.), (*18)

By default, if you do not specify a port, the server will run on port 3000; you can specify a port with the --port=<port> option., (*19)

Source invocation via Grunt

The grunt serve command does several things:, (*20)

  • Runs grunt watch, which looks for file changes and runs tasks such as jshint, unit tests, and combining partials into JS templates.
  • Runs a livereload, static HTTP server; any file change will force it to reload, and trigger any browser windows with the UI loaded to reload.

The grunt server runs in the same way as the standalone server: it accepts the same options, and has the same CORS limitations. As an example:, (*21)

$ grunt serve --api=<URI to Apigility Admin API (ends in /apigility/api)> \
> --doc=<URI to API documentation> --port=3001 --host=ag.dev

Please see our contributing guide for information on how to run tests and hack on the UI., (*22)

The Versions

19/12 2016

dev-develop

dev-develop http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

19/12 2016

dev-master

9999999-dev http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

19/12 2016

1.3.9

1.3.9.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

17/08 2016

1.3.8

1.3.8.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

14/08 2016

1.3.7

1.3.7.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

12/08 2016

1.3.6

1.3.6.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

11/08 2016

1.3.5

1.3.5.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

10/08 2016

1.3.4

1.3.4.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

10/08 2016

1.3.3

1.3.3.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

09/08 2016

1.3.2

1.3.2.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

06/08 2016

1.3.1

1.3.1.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

27/07 2016

1.3.0

1.3.0.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

27/07 2016

1.2.4

1.2.4.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

16/03 2016

1.2.3

1.2.3.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

25/01 2016

1.2.2

1.2.2.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

23/07 2015

1.1.6

1.1.6.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

23/07 2015

1.2.1

1.2.1.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

15/07 2015

1.2.0

1.2.0.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

08/07 2015

1.1.5

1.1.5.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

21/04 2015

1.1.4

1.1.4.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

20/04 2015

1.1.3

1.1.3.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

20/04 2015

1.1.2

1.1.2.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

20/04 2015

1.1.1

1.1.1.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

16/04 2015

1.1.0

1.1.0.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

26/03 2015

1.0.7

1.0.7.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

20/08 2014

1.0.6

1.0.6.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

20/08 2014

1.0.5

1.0.5.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility

19/08 2014

1.0.4

1.0.4.0 http://apigility.org/

Apigility Admin UI module

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework zf2 apigility