diff --git a/database/schema.sql b/database/DDL.sql similarity index 100% rename from database/schema.sql rename to database/DDL.sql diff --git a/index.php b/index.php index e9b7df6..94c145f 100644 --- a/index.php +++ b/index.php @@ -10,8 +10,8 @@ $handler = new RequestHandler($request); $handler->registerRoutes([ new Route('GET', 'products', ['ProductList\View\Product', 'listAll']), - new Route('GET', 'add-product', function() { readfile('add-product.html'); }), - new Route('GET', '', function() { readfile('index.html'); }), + new Route('GET', 'add-product', function() { readfile('static/add-product.html'); }), + new Route('GET', '', function() { readfile('static/index.html'); }), ]); $handler->handle(); diff --git a/add-product.html b/static/add-product.html similarity index 84% rename from add-product.html rename to static/add-product.html index 161c86a..5024d2e 100644 --- a/add-product.html +++ b/static/add-product.html @@ -1,7 +1,7 @@ - + Product Add diff --git a/index.css b/static/index.css similarity index 100% rename from index.css rename to static/index.css diff --git a/index.html b/static/index.html similarity index 79% rename from index.html rename to static/index.html index 258270e..58e02f0 100644 --- a/index.html +++ b/static/index.html @@ -2,7 +2,7 @@ - + Product List @@ -16,5 +16,5 @@
- + diff --git a/index.js b/static/index.js similarity index 100% rename from index.js rename to static/index.js