Index: src/webapp/apigility/public/.gitignore
===================================================================
--- src/webapp/apigility/public/.gitignore	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/public/.gitignore	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,2 @@
+apigility-ui/
+zf-apigility/
Index: src/webapp/apigility/public/.htaccess
===================================================================
--- src/webapp/apigility/public/.htaccess	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/public/.htaccess	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,18 @@
+RewriteEngine On
+# The following rule allows authentication to work with fast-cgi
+RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
+# The following rule tells Apache that if the requested filename
+# exists, simply serve it.
+RewriteCond %{REQUEST_FILENAME} -s [OR]
+RewriteCond %{REQUEST_FILENAME} -l [OR]
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^.*$ - [NC,L]
+# The following rewrites all other queries to index.php. The 
+# condition ensures that if you are using Apache aliases to do
+# mass virtual hosting, the base path will be prepended to 
+# allow proper resolution of the index.php file; it will work
+# in non-aliased environments as well, providing a safe, one-size 
+# fits all solution.
+RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
+RewriteRule ^(.*) - [E=BASE:%1]
+RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
Index: src/webapp/apigility/public/index.php
===================================================================
--- src/webapp/apigility/public/index.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/public/index.php	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,58 @@
+<?php
+/**
+ * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
+ * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ */
+
+use Zend\Stdlib\ArrayUtils;
+use ZF\Apigility\Application;
+
+/**
+ * This makes our life easier when dealing with paths. Everything is relative
+ * to the application root now.
+ */
+chdir(dirname(__DIR__));
+
+// Redirect legacy requests to enable/disable development mode to new tool
+if (php_sapi_name() === 'cli'
+    && $argc > 2
+    && 'development' == $argv[1]
+    && in_array($argv[2], ['disable', 'enable'])
+) {
+    // Windows needs to execute the batch scripts that Composer generates,
+    // and not the Unix shell version.
+    $script = defined('PHP_WINDOWS_VERSION_BUILD') && constant('PHP_WINDOWS_VERSION_BUILD')
+        ? '.\\vendor\\bin\\zf-development-mode.bat'
+        : './vendor/bin/zf-development-mode';
+    system(sprintf('%s %s', $script, $argv[2]), $return);
+    exit($return);
+}
+
+// Decline static file requests back to the PHP built-in webserver
+if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))) {
+    return false;
+}
+
+if (! file_exists('vendor/autoload.php')) {
+    throw new RuntimeException(
+        'Unable to load application.' . PHP_EOL
+        . '- Type `composer install` if you are developing locally.' . PHP_EOL
+        . '- Type `vagrant ssh -c \'composer install\'` if you are using Vagrant.' . PHP_EOL
+        . '- Type `docker-compose run apigility composer install` if you are using Docker.'
+    );
+}
+
+// Setup autoloading
+include 'vendor/autoload.php';
+
+$appConfig = include 'config/application.config.php';
+
+if (file_exists('config/development.config.php')) {
+    $appConfig = ArrayUtils::merge(
+        $appConfig,
+        include 'config/development.config.php'
+    );
+}
+
+// Run the application!
+Application::init($appConfig)->run();
Index: src/webapp/apigility/public/web.config
===================================================================
--- src/webapp/apigility/public/web.config	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
+++ src/webapp/apigility/public/web.config	(revision 74c3571b330568daeee1f4562299f3daae280ddf)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+    <system.webServer>
+        <rewrite>
+            <rules>
+                <rule name="Imported Rule 1" stopProcessing="true">
+                    <match url="^.*$" />
+                    <conditions logicalGrouping="MatchAny">
+                        <add input="{REQUEST_FILENAME}"
+                             matchType="IsFile" pattern=""
+                             ignoreCase="false" />
+                        <add input="{REQUEST_FILENAME}"
+                             matchType="IsDirectory"
+                             pattern=""
+                             ignoreCase="false" />
+                    </conditions>
+                    <action type="None" />
+                </rule>
+                <rule name="Imported Rule 2" stopProcessing="true">
+                    <match url="^.*$" />
+                    <action type="Rewrite" url="index.php" />
+                </rule>
+            </rules>
+        </rewrite>
+    </system.webServer>
+</configuration>
