Skip to content

zynsniper/Portfolio-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Tracker

A simple yet functional web application to track your investments, calculate gains/losses, and visualize your portfolio using a clean, responsive interface.

This project was built from the ground up as part of my personal learning journey into full-stack web development using Flask and PostgreSQL. It emphasizes modularity, authentication, live data input, and chart-based visualization.


Features

  • Add investments (stocks, crypto, or assets)
  • Track total portfolio value
  • Visual pie chart breakdown
  • Search stock symbols by time period
  • Logout functionality
  • Responsive and dark-themed UI

Learning Journey

  • REST api in flask (token, request, post)
  • User authentication (database management, signin/out, register)
  • Connecting backend to a PostgreSQL database (SQL queries, integration with python shell)
  • Jinja2 for template (error pages/popups)
  • Chart.js for frontend data visualization (pie chart)
  • Handling user input with validation and session management (user profile, information)
  • Structuring file/project directories (application structure)

I also learned about virtual environments, managing dependencies, and deploying locally on Windows using Git and Postgres tools.


Tech Stack

Layer Technologies
Frontend HTML, CSS, Jinja2, JavaScript
Backend Python, Flask
Database PostgreSQL
Charts Chart.js
Versioning Git & GitHub

UI Snapshots

Login Screen

Login Thumbnail

Dashboard View

Dashboard Thumbnail

Stock Search

Search Thumbnail

Portfolio Chart

Chart Thumbnail


About

Web-based investment portfolio tracker built in flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published