From ad87c2174f3fd81759549d38fb46b7b840ca1c8d Mon Sep 17 00:00:00 2001 From: Cronick Date: Tue, 27 Sep 2016 12:41:35 +0200 Subject: [PATCH] Update - Forgot to include the cfg for web-api (Thanks to GabrielTK for spotting the mistake) --- api/cfg.js.example | 13 +++++++++++++ istart-nodemon - Kopi.bat | 1 + istart-nodemon.bat | 1 + istart-server.bat | 1 + 4 files changed, 16 insertions(+) create mode 100644 api/cfg.js.example create mode 100644 istart-nodemon - Kopi.bat create mode 100644 istart-nodemon.bat create mode 100644 istart-server.bat diff --git a/api/cfg.js.example b/api/cfg.js.example new file mode 100644 index 0000000..dcfacbb --- /dev/null +++ b/api/cfg.js.example @@ -0,0 +1,13 @@ +const CFG = { + API: { + HOST: "127.0.0.1", + PORT: 3000, + ROUTE: "/api" + }, + GMAPS: { + API_KEY: "XXXXX", + BASE_ZOOM: 20, + BASE_LAT: 39.18875480450959, + BASE_LNG: -96.58109955489635 + } +}; \ No newline at end of file diff --git a/istart-nodemon - Kopi.bat b/istart-nodemon - Kopi.bat new file mode 100644 index 0000000..3ecbcda --- /dev/null +++ b/istart-nodemon - Kopi.bat @@ -0,0 +1 @@ +nodemon --exec npm run api \ No newline at end of file diff --git a/istart-nodemon.bat b/istart-nodemon.bat new file mode 100644 index 0000000..896de40 --- /dev/null +++ b/istart-nodemon.bat @@ -0,0 +1 @@ +nodemon --exec npm run boot -- ./src/index.js \ No newline at end of file diff --git a/istart-server.bat b/istart-server.bat new file mode 100644 index 0000000..1cd99d9 --- /dev/null +++ b/istart-server.bat @@ -0,0 +1 @@ +npm run boot \ No newline at end of file