Commit 46402b5a9b8b7c332d17edd4320bff5ab112950a

Authored by Ali B
1 parent ed9547de

Added node.js to the api and started working on it

Showing 1689 changed files with 184208 additions and 23 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 1689 files are displayed.

restApi/.idea/vcs.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="VcsDirectoryMappings">
  4 + <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
  5 + </component>
  6 +</project>
0 7 \ No newline at end of file
... ...
restApi/.idea/workspace.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <project version="4">
3 3 <component name="ChangeListManager">
4   - <list default="true" id="8a337026-05ab-47b0-872d-ab1e8037e9a0" name="Default" comment="" />
  4 + <list default="true" id="8a337026-05ab-47b0-872d-ab1e8037e9a0" name="Default" comment="">
  5 + <change beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
  6 + <change beforePath="" afterPath="$PROJECT_DIR$/api/controllers/evaluationController.js" />
  7 + <change beforePath="" afterPath="$PROJECT_DIR$/api/models/evaluationModel.js" />
  8 + <change beforePath="" afterPath="$PROJECT_DIR$/api/routes/evaluationRoutes.js" />
  9 + <change beforePath="" afterPath="$PROJECT_DIR$/server.js" />
  10 + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
  11 + <change beforePath="$PROJECT_DIR$/package.json" afterPath="$PROJECT_DIR$/package.json" />
  12 + </list>
5 13 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6 14 <option name="TRACKING_ENABLED" value="true" />
7 15 <option name="SHOW_DIALOG" value="false" />
... ... @@ -10,10 +18,60 @@
10 18 <option name="LAST_RESOLUTION" value="IGNORE" />
11 19 </component>
12 20 <component name="FileEditorManager">
13   - <leaf>
14   - <file leaf-file-name="package.json" pinned="false" current-in-tab="true">
  21 + <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
  22 + <file leaf-file-name="package.json" pinned="false" current-in-tab="false">
15 23 <entry file="file://$PROJECT_DIR$/package.json">
16 24 <provider selected="true" editor-type-id="text-editor">
  25 + <state relative-caret-position="136">
  26 + <caret line="8" column="4" lean-forward="true" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="4" />
  27 + <folding />
  28 + </state>
  29 + </provider>
  30 + </entry>
  31 + </file>
  32 + <file leaf-file-name="package-lock.json" pinned="false" current-in-tab="false">
  33 + <entry file="file://$PROJECT_DIR$/package-lock.json">
  34 + <provider selected="true" editor-type-id="text-editor">
  35 + <state relative-caret-position="0">
  36 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  37 + <folding />
  38 + </state>
  39 + </provider>
  40 + </entry>
  41 + </file>
  42 + <file leaf-file-name="server.js" pinned="false" current-in-tab="true">
  43 + <entry file="file://$PROJECT_DIR$/server.js">
  44 + <provider selected="true" editor-type-id="text-editor">
  45 + <state relative-caret-position="102">
  46 + <caret line="6" column="64" lean-forward="true" selection-start-line="6" selection-start-column="64" selection-end-line="6" selection-end-column="64" />
  47 + <folding />
  48 + </state>
  49 + </provider>
  50 + </entry>
  51 + </file>
  52 + <file leaf-file-name="evaluationController.js" pinned="false" current-in-tab="false">
  53 + <entry file="file://$PROJECT_DIR$/api/controllers/evaluationController.js">
  54 + <provider selected="true" editor-type-id="text-editor">
  55 + <state relative-caret-position="0">
  56 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  57 + <folding />
  58 + </state>
  59 + </provider>
  60 + </entry>
  61 + </file>
  62 + <file leaf-file-name="evaluationModel.js" pinned="false" current-in-tab="false">
  63 + <entry file="file://$PROJECT_DIR$/api/models/evaluationModel.js">
  64 + <provider selected="true" editor-type-id="text-editor">
  65 + <state relative-caret-position="0">
  66 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  67 + <folding />
  68 + </state>
  69 + </provider>
  70 + </entry>
  71 + </file>
  72 + <file leaf-file-name="evaluationRoutes.js" pinned="false" current-in-tab="false">
  73 + <entry file="file://$PROJECT_DIR$/api/routes/evaluationRoutes.js">
  74 + <provider selected="true" editor-type-id="text-editor">
17 75 <state relative-caret-position="0">
18 76 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
19 77 <folding />
... ... @@ -23,6 +81,16 @@
23 81 </file>
24 82 </leaf>
25 83 </component>
  84 + <component name="FileTemplateManagerImpl">
  85 + <option name="RECENT_TEMPLATES">
  86 + <list>
  87 + <option value="JavaScript File" />
  88 + </list>
  89 + </option>
  90 + </component>
  91 + <component name="Git.Settings">
  92 + <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
  93 + </component>
26 94 <component name="GradleLocalSettings">
27 95 <option name="modificationStamps">
28 96 <map>
... ... @@ -33,6 +101,17 @@
33 101 <projects_view />
34 102 </option>
35 103 </component>
  104 + <component name="IdeDocumentHistory">
  105 + <option name="CHANGED_PATHS">
  106 + <list>
  107 + <option value="$PROJECT_DIR$/api/controllers/risikoController.js" />
  108 + <option value="$PROJECT_DIR$/api/models/evaluationModel.js" />
  109 + <option value="$PROJECT_DIR$/api/routes/evaluationRoutes.js" />
  110 + <option value="$PROJECT_DIR$/package.json" />
  111 + <option value="$PROJECT_DIR$/server.js" />
  112 + </list>
  113 + </option>
  114 + </component>
36 115 <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
37 116 <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER">
38 117 <package-json value="$PROJECT_DIR$/package.json" />
... ... @@ -41,13 +120,17 @@
41 120 <detection-done>true</detection-done>
42 121 <sorting>DEFINITION_ORDER</sorting>
43 122 </component>
  123 + <component name="NodeModulesDirectoryManager">
  124 + <handled-path value="$PROJECT_DIR$/node_modules" />
  125 + </component>
44 126 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
45   - <component name="ProjectFrameBounds" extendedState="7">
46   - <option name="x" value="291" />
47   - <option name="y" value="51" />
48   - <option name="width" value="1534" />
49   - <option name="height" value="862" />
  127 + <component name="ProjectFrameBounds" extendedState="6">
  128 + <option name="x" value="-8" />
  129 + <option name="y" value="-8" />
  130 + <option name="width" value="1936" />
  131 + <option name="height" value="1056" />
50 132 </component>
  133 + <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
51 134 <component name="ProjectView">
52 135 <navigator currentView="ProjectPane" proportions="" version="1">
53 136 <flattenPackages />
... ... @@ -63,6 +146,7 @@
63 146 <foldersAlwaysOnTop value="true" />
64 147 </navigator>
65 148 <panes>
  149 + <pane id="Scratches" />
66 150 <pane id="ProjectPane">
67 151 <subPane>
68 152 <expand>
... ... @@ -70,12 +154,34 @@
70 154 <item name="restApi" type="b2602c69:ProjectViewProjectNode" />
71 155 <item name="restApi" type="2a2b976b:PhpTreeStructureProvider$1" />
72 156 </path>
  157 + <path>
  158 + <item name="restApi" type="b2602c69:ProjectViewProjectNode" />
  159 + <item name="restApi" type="2a2b976b:PhpTreeStructureProvider$1" />
  160 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  161 + </path>
  162 + <path>
  163 + <item name="restApi" type="b2602c69:ProjectViewProjectNode" />
  164 + <item name="restApi" type="2a2b976b:PhpTreeStructureProvider$1" />
  165 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  166 + <item name="controllers" type="2a2b976b:PhpTreeStructureProvider$1" />
  167 + </path>
  168 + <path>
  169 + <item name="restApi" type="b2602c69:ProjectViewProjectNode" />
  170 + <item name="restApi" type="2a2b976b:PhpTreeStructureProvider$1" />
  171 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  172 + <item name="models" type="2a2b976b:PhpTreeStructureProvider$1" />
  173 + </path>
  174 + <path>
  175 + <item name="restApi" type="b2602c69:ProjectViewProjectNode" />
  176 + <item name="restApi" type="2a2b976b:PhpTreeStructureProvider$1" />
  177 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  178 + <item name="routes" type="2a2b976b:PhpTreeStructureProvider$1" />
  179 + </path>
73 180 </expand>
74 181 <select />
75 182 </subPane>
76 183 </pane>
77 184 <pane id="Scope" />
78   - <pane id="Scratches" />
79 185 </panes>
80 186 </component>
81 187 <component name="PropertiesComponent">
... ... @@ -189,34 +295,35 @@
189 295 <option name="presentableId" value="Default" />
190 296 <updated>1538753503688</updated>
191 297 <workItem from="1538753505199" duration="609000" />
  298 + <workItem from="1538754856928" duration="649000" />
192 299 </task>
193 300 <servers />
194 301 </component>
195 302 <component name="TimeTrackingManager">
196   - <option name="totallyTimeSpent" value="609000" />
  303 + <option name="totallyTimeSpent" value="1258000" />
197 304 </component>
198 305 <component name="ToolWindowManager">
199   - <frame x="-8" y="-8" width="1936" height="1056" extended-state="7" />
  306 + <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
200 307 <editor active="true" />
201 308 <layout>
202   - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
  309 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19936034" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
203 310 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
204   - <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
205   - <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
206   - <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
207   - <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
208   - <window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
  311 + <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
  312 + <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
  313 + <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
  314 + <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
  315 + <window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
209 316 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
210 317 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
211   - <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
212   - <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
  318 + <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
  319 + <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
213 320 <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
214 321 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
215   - <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
216 322 <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
217 323 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
218   - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
219 324 <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
  325 + <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
  326 + <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
220 327 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
221 328 </layout>
222 329 </component>
... ... @@ -239,5 +346,53 @@
239 346 </state>
240 347 </provider>
241 348 </entry>
  349 + <entry file="file://$PROJECT_DIR$/api/controllers/evaluationController.js">
  350 + <provider selected="true" editor-type-id="text-editor">
  351 + <state relative-caret-position="0">
  352 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  353 + <folding />
  354 + </state>
  355 + </provider>
  356 + </entry>
  357 + <entry file="file://$PROJECT_DIR$/api/models/evaluationModel.js">
  358 + <provider selected="true" editor-type-id="text-editor">
  359 + <state relative-caret-position="0">
  360 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  361 + <folding />
  362 + </state>
  363 + </provider>
  364 + </entry>
  365 + <entry file="file://$PROJECT_DIR$/api/routes/evaluationRoutes.js">
  366 + <provider selected="true" editor-type-id="text-editor">
  367 + <state relative-caret-position="0">
  368 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  369 + <folding />
  370 + </state>
  371 + </provider>
  372 + </entry>
  373 + <entry file="file://$PROJECT_DIR$/package-lock.json">
  374 + <provider selected="true" editor-type-id="text-editor">
  375 + <state relative-caret-position="0">
  376 + <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  377 + <folding />
  378 + </state>
  379 + </provider>
  380 + </entry>
  381 + <entry file="file://$PROJECT_DIR$/package.json">
  382 + <provider selected="true" editor-type-id="text-editor">
  383 + <state relative-caret-position="136">
  384 + <caret line="8" column="4" lean-forward="true" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="4" />
  385 + <folding />
  386 + </state>
  387 + </provider>
  388 + </entry>
  389 + <entry file="file://$PROJECT_DIR$/server.js">
  390 + <provider selected="true" editor-type-id="text-editor">
  391 + <state relative-caret-position="102">
  392 + <caret line="6" column="64" lean-forward="true" selection-start-line="6" selection-start-column="64" selection-end-line="6" selection-end-column="64" />
  393 + <folding />
  394 + </state>
  395 + </provider>
  396 + </entry>
242 397 </component>
243 398 </project>
244 399 \ No newline at end of file
... ...
restApi/api/controllers/evaluationController.js 0 → 100644
restApi/api/models/evaluationModel.js 0 → 100644
restApi/api/routes/evaluationRoutes.js 0 → 100644
restApi/node_modules/.bin/atob 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../atob/bin/atob.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../atob/bin/atob.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/atob.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\atob\bin\atob.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\atob\bin\atob.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/is-ci 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../is-ci/bin.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../is-ci/bin.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/is-ci.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\is-ci\bin.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\is-ci\bin.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/mime 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../mime/cli.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../mime/cli.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/mime.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\mime\cli.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/nodemon 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../nodemon/bin/nodemon.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../nodemon/bin/nodemon.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/nodemon.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\nodemon\bin\nodemon.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\nodemon\bin\nodemon.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/nodetouch 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../touch/bin/nodetouch.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../touch/bin/nodetouch.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/nodetouch.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\touch\bin\nodetouch.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\touch\bin\nodetouch.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/nopt 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../nopt/bin/nopt.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../nopt/bin/nopt.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/nopt.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\nopt\bin\nopt.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\nopt\bin\nopt.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/rc 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../rc/cli.js" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../rc/cli.js" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/rc.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\rc\cli.js" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\rc\cli.js" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/semver 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../semver/bin/semver" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../semver/bin/semver" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/semver.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\semver\bin\semver" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/.bin/which 0 → 100644
  1 +#!/bin/sh
  2 +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3 +
  4 +case `uname` in
  5 + *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
  6 +esac
  7 +
  8 +if [ -x "$basedir/node" ]; then
  9 + "$basedir/node" "$basedir/../which/bin/which" "$@"
  10 + ret=$?
  11 +else
  12 + node "$basedir/../which/bin/which" "$@"
  13 + ret=$?
  14 +fi
  15 +exit $ret
... ...
restApi/node_modules/.bin/which.cmd 0 → 100644
  1 +@IF EXIST "%~dp0\node.exe" (
  2 + "%~dp0\node.exe" "%~dp0\..\which\bin\which" %*
  3 +) ELSE (
  4 + @SETLOCAL
  5 + @SET PATHEXT=%PATHEXT:;.JS;=;%
  6 + node "%~dp0\..\which\bin\which" %*
  7 +)
0 8 \ No newline at end of file
... ...
restApi/node_modules/abbrev/LICENSE 0 → 100644
  1 +This software is dual-licensed under the ISC and MIT licenses.
  2 +You may use this software under EITHER of the following licenses.
  3 +
  4 +----------
  5 +
  6 +The ISC License
  7 +
  8 +Copyright (c) Isaac Z. Schlueter and Contributors
  9 +
  10 +Permission to use, copy, modify, and/or distribute this software for any
  11 +purpose with or without fee is hereby granted, provided that the above
  12 +copyright notice and this permission notice appear in all copies.
  13 +
  14 +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  15 +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  16 +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  17 +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  18 +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  19 +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  20 +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  21 +
  22 +----------
  23 +
  24 +Copyright Isaac Z. Schlueter and Contributors
  25 +All rights reserved.
  26 +
  27 +Permission is hereby granted, free of charge, to any person
  28 +obtaining a copy of this software and associated documentation
  29 +files (the "Software"), to deal in the Software without
  30 +restriction, including without limitation the rights to use,
  31 +copy, modify, merge, publish, distribute, sublicense, and/or sell
  32 +copies of the Software, and to permit persons to whom the
  33 +Software is furnished to do so, subject to the following
  34 +conditions:
  35 +
  36 +The above copyright notice and this permission notice shall be
  37 +included in all copies or substantial portions of the Software.
  38 +
  39 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  40 +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  41 +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  42 +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  43 +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  44 +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  45 +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  46 +OTHER DEALINGS IN THE SOFTWARE.
... ...
restApi/node_modules/abbrev/README.md 0 → 100644
  1 +# abbrev-js
  2 +
  3 +Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).
  4 +
  5 +Usage:
  6 +
  7 + var abbrev = require("abbrev");
  8 + abbrev("foo", "fool", "folding", "flop");
  9 +
  10 + // returns:
  11 + { fl: 'flop'
  12 + , flo: 'flop'
  13 + , flop: 'flop'
  14 + , fol: 'folding'
  15 + , fold: 'folding'
  16 + , foldi: 'folding'
  17 + , foldin: 'folding'
  18 + , folding: 'folding'
  19 + , foo: 'foo'
  20 + , fool: 'fool'
  21 + }
  22 +
  23 +This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.
... ...
restApi/node_modules/abbrev/abbrev.js 0 → 100644
  1 +module.exports = exports = abbrev.abbrev = abbrev
  2 +
  3 +abbrev.monkeyPatch = monkeyPatch
  4 +
  5 +function monkeyPatch () {
  6 + Object.defineProperty(Array.prototype, 'abbrev', {
  7 + value: function () { return abbrev(this) },
  8 + enumerable: false, configurable: true, writable: true
  9 + })
  10 +
  11 + Object.defineProperty(Object.prototype, 'abbrev', {
  12 + value: function () { return abbrev(Object.keys(this)) },
  13 + enumerable: false, configurable: true, writable: true
  14 + })
  15 +}
  16 +
  17 +function abbrev (list) {
  18 + if (arguments.length !== 1 || !Array.isArray(list)) {
  19 + list = Array.prototype.slice.call(arguments, 0)
  20 + }
  21 + for (var i = 0, l = list.length, args = [] ; i < l ; i ++) {
  22 + args[i] = typeof list[i] === "string" ? list[i] : String(list[i])
  23 + }
  24 +
  25 + // sort them lexicographically, so that they're next to their nearest kin
  26 + args = args.sort(lexSort)
  27 +
  28 + // walk through each, seeing how much it has in common with the next and previous
  29 + var abbrevs = {}
  30 + , prev = ""
  31 + for (var i = 0, l = args.length ; i < l ; i ++) {
  32 + var current = args[i]
  33 + , next = args[i + 1] || ""
  34 + , nextMatches = true
  35 + , prevMatches = true
  36 + if (current === next) continue
  37 + for (var j = 0, cl = current.length ; j < cl ; j ++) {
  38 + var curChar = current.charAt(j)
  39 + nextMatches = nextMatches && curChar === next.charAt(j)
  40 + prevMatches = prevMatches && curChar === prev.charAt(j)
  41 + if (!nextMatches && !prevMatches) {
  42 + j ++
  43 + break
  44 + }
  45 + }
  46 + prev = current
  47 + if (j === cl) {
  48 + abbrevs[current] = current
  49 + continue
  50 + }
  51 + for (var a = current.substr(0, j) ; j <= cl ; j ++) {
  52 + abbrevs[a] = current
  53 + a += current.charAt(j)
  54 + }
  55 + }
  56 + return abbrevs
  57 +}
  58 +
  59 +function lexSort (a, b) {
  60 + return a === b ? 0 : a > b ? 1 : -1
  61 +}
... ...
restApi/node_modules/abbrev/package.json 0 → 100644
  1 +{
  2 + "_from": "abbrev@1",
  3 + "_id": "abbrev@1.1.1",
  4 + "_inBundle": false,
  5 + "_integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
  6 + "_location": "/abbrev",
  7 + "_phantomChildren": {},
  8 + "_requested": {
  9 + "type": "range",
  10 + "registry": true,
  11 + "raw": "abbrev@1",
  12 + "name": "abbrev",
  13 + "escapedName": "abbrev",
  14 + "rawSpec": "1",
  15 + "saveSpec": null,
  16 + "fetchSpec": "1"
  17 + },
  18 + "_requiredBy": [
  19 + "/nopt"
  20 + ],
  21 + "_resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
  22 + "_shasum": "f8f2c887ad10bf67f634f005b6987fed3179aac8",
  23 + "_spec": "abbrev@1",
  24 + "_where": "C:\\Users\\Ali\\Desktop\\ITE1893_Risikovurdering_Gruppe4\\restApi\\node_modules\\nopt",
  25 + "author": {
  26 + "name": "Isaac Z. Schlueter",
  27 + "email": "i@izs.me"
  28 + },
  29 + "bugs": {
  30 + "url": "https://github.com/isaacs/abbrev-js/issues"
  31 + },
  32 + "bundleDependencies": false,
  33 + "deprecated": false,
  34 + "description": "Like ruby's abbrev module, but in js",
  35 + "devDependencies": {
  36 + "tap": "^10.1"
  37 + },
  38 + "files": [
  39 + "abbrev.js"
  40 + ],
  41 + "homepage": "https://github.com/isaacs/abbrev-js#readme",
  42 + "license": "ISC",
  43 + "main": "abbrev.js",
  44 + "name": "abbrev",
  45 + "repository": {
  46 + "type": "git",
  47 + "url": "git+ssh://git@github.com/isaacs/abbrev-js.git"
  48 + },
  49 + "scripts": {
  50 + "postpublish": "git push origin --all; git push origin --tags",
  51 + "postversion": "npm publish",
  52 + "preversion": "npm test",
  53 + "test": "tap test.js --100"
  54 + },
  55 + "version": "1.1.1"
  56 +}
... ...
restApi/node_modules/accepts/HISTORY.md 0 → 100644
  1 +1.3.5 / 2018-02-28
  2 +==================
  3 +
  4 + * deps: mime-types@~2.1.18
  5 + - deps: mime-db@~1.33.0
  6 +
  7 +1.3.4 / 2017-08-22
  8 +==================
  9 +
  10 + * deps: mime-types@~2.1.16
  11 + - deps: mime-db@~1.29.0
  12 +
  13 +1.3.3 / 2016-05-02
  14 +==================
  15 +
  16 + * deps: mime-types@~2.1.11
  17 + - deps: mime-db@~1.23.0
  18 + * deps: negotiator@0.6.1
  19 + - perf: improve `Accept` parsing speed
  20 + - perf: improve `Accept-Charset` parsing speed
  21 + - perf: improve `Accept-Encoding` parsing speed
  22 + - perf: improve `Accept-Language` parsing speed
  23 +
  24 +1.3.2 / 2016-03-08
  25 +==================
  26 +
  27 + * deps: mime-types@~2.1.10
  28 + - Fix extension of `application/dash+xml`
  29 + - Update primary extension for `audio/mp4`
  30 + - deps: mime-db@~1.22.0
  31 +
  32 +1.3.1 / 2016-01-19
  33 +==================
  34 +