- Team
- Personal-Spending-Tracker
- Project structure
- Deployed version of the application
- Installation instructions
- References
- Haris Malik
- Joel Jolly
- Konrad Bylina
- Malika Boss
- Oreoluwa Fayemiwo
- Richmond Bobie
- Vanessa Neboh
Track your daily spending, create, edit delete categories, create streaks by reaching your targets and compare your achievements with friends
The project is called personal-spending-tracker. It currently consists of a single app expenditure where all functionality resides.
The deployed version of the application can be found at http://malikharis03.pythonanywhere.com
To install the software and use it in your local development environment, you must first set up and activate a local development environment. From the root of the project:
$ virtualenv venv
$ source venv/bin/activate
Install all required packages:
$ pip3 install -r requirements.txt
Get key for API:
- visit https://newsapi.org/
- Sign up to obtain a key
- Create a file in your root folder(usually where manage.py is located) and name it '.env'
- In your .env file, type: NEWS_API_KEY = add your key here(no quotes)
Migrate the database:
$ python3 manage.py makemigrations
$ python3 manage.py migrate
Seed the development database with:
$ python3 manage.py seed
Run all tests with:
$ python3 manage.py test
Run server:
Note: Before running server, check apps.py file and uncomment the code below to start scheduler
- scheduler.start()
$ python3 manage.py runserver
CODE:
- https://www.w3schools.com/howto/howto_js_treeview.asp
- https://django-betterforms.readthedocs.io/en/latest/multiform.html#working-with-createview
- https://django-betterforms.readthedocs.io/en/latest/multiform.html#working-with-updateview
- https://www.chartjs.org/docs/latest/
IMAGES:
- pound: https://pixabay.com/illustrations/pound-uk-money-currency-finance-685059/
- bkg2: https://www.pexels.com/photo/gray-and-white-wallpaper-1103970/
- bkg3: https://www.pexels.com/photo/close-up-shot-of-a-blue-flower-14120471/
- bkg4: https://www.pexels.com/photo/view-of-street-from-a-glass-window-531880/
- first: https://www.flaticon.com/free-icon/1st-place_4899679?term=first+place&page=1&position=1&origin=style&related_id=4899679
- second: https://www.flaticon.com/free-icon/2nd-place_4899684?term=second+place&page=1&position=1&origin=style&related_id=4899684
- third: https://www.flaticon.com/free-icon/3rd-place_4899691?term=third+place&page=1&position=27&origin=search&related_id=4899691
TEMPLATES:
- HTML email templates inspired by "Responsive HTML Email" Youtube channel: https://www.youtube.com/watch?v=_G5OuTmuU0Q
OTHER