Skip to content

braedonondos/Finance-Tracker-App

Repository files navigation

Finance-Tracker-App

Finance Tracker App for CS 1530 Software Engineering

How to run the web application (Windows):

After cloning the repository:

  1. Make sure you have Python installed
  2. Activate the virtual environment by opening the terminal (preferably in VSCode) and while in the repository's directory, type .\Scripts\activate (this command is Windows only)
    • Important Note: Some Windows users will get an error in the above command. One possible cause of such problem is the execution policy in your computer. To check what policy you have in your computer and change it if necessary is shown below:
      1. Select Start > All Programs > Windows PowerShell version > Windows PowerShell.
      2. Type Set-ExecutionPolicy RemoteSigned to set the policy to RemoteSigned.
      3. Type Set-ExecutionPolicy Unrestricted to set the policy to Unrestricted.
      4. Type Get-ExecutionPolicy to verify the current settings for the execution policy.
      5. Type Exit.
  3. You should see (Finance-Tracker-App) next to your command line now
  4. Execute the following commands in the command line:

pip install psycopg2

pip install flask

  1. Install version 10.23 of PostgresSQL
  2. Launch the installer after it is done downloading. Set the password to sie_final_project. Leave the default port to be 5432.
  3. After the installation is complete, search for pgadmin4 in the Windows search bar and launch it.
  4. If prompted for/to create a password, type sie_final_project.
  5. Make a new table named expenses_user with columns: category, price, username, date.
  6. Add any relevant data to this table to be used with the view expenses feature.
  7. Run the main python script main.py (python main.py) in the command line that has (Finance-Tracker-App).
  8. CTRL + click on the link where it says "Running on " to open the web app

Running JUnit Test

  1. In the directory of the pom.xml file, execute the following commands in the command line:

mvn compile

mvn test

  1. If done correctly, the test should pass.

Html and Css demo code for sign in:

https://codepen.io/colorlib/pen/rxddKy

About

Finance Tracker App for CS 1530 Software Engineering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •