diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..46907ab --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +VUE_APP_CONFIG_API_USER=rest api user +VUE_APP_CONFIG_API_PASSWORD=rest api password \ No newline at end of file diff --git a/.gitignore b/.gitignore index f3ef643..587c816 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules /dist # local env files +.env .env.local .env.*.local diff --git a/API.md b/API.md index 00f272b..56db654 100644 --- a/API.md +++ b/API.md @@ -55,4 +55,4 @@ returns a list of all tracked events ### Files/Images -#### ``GET /api/images/`` \ No newline at end of file +#### ``GET /api//images/`` \ No newline at end of file diff --git a/package.json b/package.json index 45de6e2..1402162 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,20 @@ "@fortawesome/fontawesome-svg-core": "^1.2.25", "@fortawesome/free-solid-svg-icons": "^5.11.2", "@fortawesome/vue-fontawesome": "^0.1.8", + "axios": "^0.19.0", "bootstrap": "^4.3.1", "core-js": "^3.3.2", + "dotenv-webpack": "^1.7.0", "jquery": "^3.4.1", + "lodash": "^4.17.15", "node-sass": "^4.13.0", "popper.js": "^1.16.0", "ramda": "^0.26.1", "sass-loader": "^8.0.0", "vue": "^2.6.10", - "vuex": "^3.1.2" + "vue-router": "^3.1.3", + "vuex": "^3.1.2", + "vuex-router-sync": "^5.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.0.0", diff --git a/src/App.vue b/src/App.vue index b635a63..6817fa5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,46 +1,17 @@ diff --git a/src/components/Cards.vue b/src/components/Cards.vue index 163cb61..dc43032 100644 --- a/src/components/Cards.vue +++ b/src/components/Cards.vue @@ -28,11 +28,11 @@
- +
- +
@@ -48,14 +48,3 @@ export default { } }; - - \ No newline at end of file diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 1788607..1766607 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -3,11 +3,11 @@ @@ -58,7 +58,7 @@ + + \ No newline at end of file