diff --git a/package.json b/package.json index 09d2113..74b9782 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,6 @@ "mongoose": "~3.6.13", "body-parser": "~1.0.1", "cross-env": "^3.1.3", - "sqlite": "^2.5.0" + "sqlite": "^2.5.0" } } diff --git a/src/database/database.js b/src/database/database.js index 3d5a9f2..00c9d98 100644 --- a/src/database/database.js +++ b/src/database/database.js @@ -1,5 +1,5 @@ const configuration = require('src/config/configuration').getInstance(); -const SqliteDatabase = require('src/database/SqliteDatabase'); +const SqliteDatabase = require('src/database/sqliteDatabase'); const database = new SqliteDatabase(configuration.get('database', 'host')); /** diff --git a/src/webserver/app.js b/src/webserver/app.js index 5715b07..ab63366 100644 --- a/src/webserver/app.js +++ b/src/webserver/app.js @@ -1,8 +1,7 @@ var express = require('express'); // call express var app = express(); // define our app using express -var bodyParser = require('body-parser'); -var sqlite3 = require('sqlite3').verbose(); +var bodyParser = require('body-parser'); // configure app to use bodyParser() diff --git a/src/webserver/controllers/seasoned/strayById.js b/src/webserver/controllers/seasoned/strayById.js index aa633da..e86e2ed 100644 --- a/src/webserver/controllers/seasoned/strayById.js +++ b/src/webserver/controllers/seasoned/strayById.js @@ -1,5 +1,5 @@ const configuration = require('src/config/configuration').getInstance(); -const StrayRepository = require('src/seasoned/StrayRepository'); +const StrayRepository = require('src/seasoned/strayRepository'); const strayRepository = new StrayRepository(); function strayByIdController(req, res) { @@ -14,4 +14,4 @@ function strayByIdController(req, res) { }); } -module.exports = strayByIdController; \ No newline at end of file +module.exports = strayByIdController; diff --git a/src/webserver/controllers/seasoned/verifyStray.js b/src/webserver/controllers/seasoned/verifyStray.js index 0bb4fc4..ca9977d 100644 --- a/src/webserver/controllers/seasoned/verifyStray.js +++ b/src/webserver/controllers/seasoned/verifyStray.js @@ -1,5 +1,5 @@ const configuration = require('src/config/configuration').getInstance(); -const StrayRepository = require('src/seasoned/StrayRepository'); +const StrayRepository = require('src/seasoned/strayRepository'); const strayRepository = new StrayRepository(); function verifyStrayController(req, res) { @@ -14,4 +14,4 @@ function verifyStrayController(req, res) { }); } -module.exports = verifyStrayController; \ No newline at end of file +module.exports = verifyStrayController;