This application lets you view your spending and transactions in a summarized view.
Some transactions are categorized and can be viewed under the Kategorier
tab.
You are also able to go back and forward in time by selecting a time range.
Client
Basic overview of account, recent transactions, grouped transactions
View an overview of grouped transactions and recent transactions in gridview
- Allows the user to navigate to previous and next month by using chevrons
- Allows the user to select a time range by clicking on the calendar
- You cannot move to a date greater than yesterday
Color | Hex |
---|---|
Primary Color | #FFFFFF --color_a_100 |
Secondary Color | #262342 --color_b_100 |
Accent Color | #32fcb3 --color_c_100 |
Text Color | #262342 or #FFFFFF |
This project uses NPM as package manager https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
Install my-project with npm
mpm i
Tests have not been prioritized in this application, however i did add a few minor test cases for fun
To run tests, run the following command
npm run test
Clone the project
git clone https://github.com/StanlyLife/Sbanken
Install dependencies
npm i
Start the server
npm run start
You can login using your own API Secret
and API key
or you can click test to login using test data.
With test data you are unable to select dates as the test data only provides data for 1 month.
- Sign up for Sbanken beta https://secure.sbanken.no/Home/Settings/BetaProgram
- Go to the developer portal https://secure.sbanken.no/Personal/ApiBeta/Info/
- Go to the developer portal
- Find your key as displayed in the image (The api key shown is not my actual key)
- Add overview/home
- Add grid/view
- Add categories
- Add login and test data
- Refactor code
- Clean up code
- Performance improvements
Note: This app was intended to be a lot smaller than it currently is. Due to this reason i picket up a lot of technical debt. The technical debt has not been resolved and i do not plan on continuing work on this application until Sbanken improves or extends thei API.
Contributions are always welcome!
Copyright 2022 Stian Håve
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Sbanken API: https://publicapi.sbanken.no/openapi/apibeta/index.html