Initial setup of the routing, and included a test bank statement

This commit is contained in:
Josh Creek
2019-04-13 15:16:30 +01:00
parent afc10c58e0
commit 02a7d97571
5 changed files with 54 additions and 25 deletions
+12 -4
View File
@@ -1,13 +1,21 @@
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<Header />
<router-view/>
</div>
</template>
<script>
import Header from './components/Header.vue';
export default {
name: 'app',
components: {
Header
}
}
</script>
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
+9
View File
@@ -0,0 +1,9 @@
<template>
<div id="header">
<h1>Bank Statement Analyser</h1>
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
</div>
</template>
-21
View File
@@ -6,27 +6,6 @@
check out the
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
</p>
<h3>Installed CLI Plugins</h3>
<ul>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
</ul>
<h3>Essential Links</h3>
<ul>
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
</ul>
<h3>Ecosystem</h3>
<ul>
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
</ul>
</div>
</template>
+19
View File
@@ -1,5 +1,24 @@
<template>
<div class="about">
<h1>This is an about page</h1>
<p>
This project is designed to:
<ul>
<li>Import a csv file (bank statement), ignoring any entries that already exist upon import </li>
<li>Apply tags/categories to each transaction </li>
<li>Be able to set rules to auto apply these, or manually set them for each item on a statement when adding it in</li>
<li>Have separate categories for savings and expenditure </li>
<li>Be able to summarise (with graphs) expenditure and savings for any selected time period </li>
<li>Be able to expand the above summaries for more detailed information </li>
<li>Be able to calculate your current FIRE status (i.e. how much you save in a year, and, assuming a return of x%, how much your yearly income from investing your savings would be, compounding to calculate how long until you hit a minimum retirement goal - vaguely similar to https://app.fin-dee.com/)</li>
<li>Be able to analyse and capture trends in expenditure and saving across months/years</li>
</ul>
</p>
</div>
</template>
<style scoped>
.about {
text-align: left;
}
</style>
+14
View File
@@ -0,0 +1,14 @@
"Account Name:","BankAccount ****01234"
"Account Balance:","100.00"
"Available Balance: ","98.50"
"Date","Transaction type","Description","Paid out","Paid in","Balance"
"13 Mar 2019","Contactless Payment","Arriva Kent Thameside Maidstone GB","2.20","","126.15"
"14 Mar 2019","Visa purchase","CROSS COUNTRY TRAINS LONDON GB","8.40","","117.75"
"15 Mar 2019","Bank credit RAPID ELECTRONICS","Bank credit RAPID ELECTRONICS","","50.84","168.59"
"15 Mar 2019","Contactless Payment","Arriva Kent Thameside Maidstone GB","2.20","","166.39"
"18 Mar 2019","Visa purchase Amazon Prime*MW9SW26R4","Amazon Prime*MW9SW26R4 amzn.co.uk/pm LU","7.99","","158.4"
"18 Mar 2019","Visa purchase","TESCO STORE 3234 SUDBURY GB","9.62","","148.78"
"18 Mar 2019","Visa purchase","TESCO PAYAT PUMP 3717 SUDBURY GB","20.19","","128.59"
"18 Mar 2019","Contactless Payment","MCDONALDS SUDBURY GB","1.39","","108.40"
"19 Mar 2019","Visa purchase","CROSS COUNTRY TRAINS LONDON GB","8.40","","100.00"
1 Account Name: BankAccount ****01234
2 Account Balance: �100.00
3 Available Balance: �98.50
4 Date Transaction type Description Paid out Paid in Balance
5 13 Mar 2019 Contactless Payment Arriva Kent Thameside Maidstone GB �2.20 �126.15
6 14 Mar 2019 Visa purchase CROSS COUNTRY TRAINS LONDON GB �8.40 �117.75
7 15 Mar 2019 Bank credit RAPID ELECTRONICS Bank credit RAPID ELECTRONICS �50.84 �168.59
8 15 Mar 2019 Contactless Payment Arriva Kent Thameside Maidstone GB �2.20 �166.39
9 18 Mar 2019 Visa purchase Amazon Prime*MW9SW26R4 Amazon Prime*MW9SW26R4 amzn.co.uk/pm LU �7.99 �158.4
10 18 Mar 2019 Visa purchase TESCO STORE 3234 SUDBURY GB �9.62 �148.78
11 18 Mar 2019 Visa purchase TESCO PAYAT PUMP 3717 SUDBURY GB �20.19 �128.59
12 18 Mar 2019 Contactless Payment MCDONALDS SUDBURY GB �1.39 �108.40
13 19 Mar 2019 Visa purchase CROSS COUNTRY TRAINS LONDON GB �8.40 �100.00