maxx-808 / budget-tracking

Personal Project: creating a budget tracker that allows you to track monthly payments and add expenses easily to see your spending and income throughout the month

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Budget Tracker

License: MIT

Table of Contents

Description

Technologies Used

Steps

Usage Information

Questions?

Description:

As one of my first personal projects, I wanted to create something that I would continue to use even after finishing development, a budget tracker sounded perfect as I sometimes tend to spend too much. I also wanted to broaden my knowledge on web development so I decided to add new techniques in to the mix, some examples of that are the confirmation email that I have setup for users to confirm their email when signing up as well as a contact form that uses OAuth2 and googleapis to send messages straight to a gmail account. I plan to continue adding small new additions to the scope of this project besides the obvious necessities for a budget tracker. In case you are wondering, for the moment, I do not plan on making the deployed version anything serious, and because of that, users may find there data erased from time to time as I don't want to over load my mongo atlas acct. I doubt that will happen but this is just a warning that this app was not intended to be used deployed by users for extended periods of time. If for some reason this app does well and feedback is great and many, I will consider making this a permanent app and discuss this further with the users at that time.

An application to seamlessly track your income and expenses with easy to read graphs and tables that allow you to look over your spending and what you spend on.

Login page Screenshot 2021-05-27 182734

Register page Screenshot 2021-05-27 182759

Contact page Screenshot 2021-05-27 182814

Home page Screenshot 2021-05-27 182834

Transaction page Screenshot 2021-05-27 182852

BASIC TASK TILL COMPLETION:

  1. get app deployed to heroku (completed)
  2. have password encryption (completed)
  3. implement email verification (completed)
  4. implement contact form sending messages straight to an email (completed)
  5. allow app to work seamlessly on localhost as well as on heroku (completed as of 5/7/2021 with each push I will be trying my best to keep it working live)
  6. check that axios calls to backend for setting a new transaction, getting all transactions, setting new user, logging in, confirming user, getting user data, etc (completed as of 5/22/2021. Will be updating if anything changes with newer pushes)
  7. adding more miscellanious pages such as an about page and terms and conditions etc.
  8. creating a table to view all transactions and their info (completed in test branch 5/22/2021. continuing to grow this page until pushing to live app)
  9. creating a filter and sort function for table
  10. adding edit and delete functions to transactions
  11. creating a graph to show transactions during a certain time period
  12. adding an easy to use function that allows one to determine whether the transactions is income or expense
  13. adding easy to use filter words to each transaction so that user can sort their transactions into topics such as: paychecks, food, entertainment, health, social outing etc.
  14. adding a monthly spread sheet possibly emailed to user detailing the total income and expense of the month as well as other useful information
  15. adding interface notifications for functions ran while using app such as: pop up notification for when you add a new transaction
  16. adding profile page where users can edit their password and email as well as ways to delete whole account including transactions
  17. adding giving the front end more styling and polished look
  18. adding animated styling for moving parts
  19. adding function to recognize repeated transactions such as subscriptions currently all I could think up at the moment. marked completed at the end of task if task has been completed in both deployed and repo versions

Technologies Used:

React.js | Express.js | Oauth2 | MongoDB | Node.js | googleapis | jsonwebtoken | nodemailer | bcrypt.js | react router dom | axios | bootstrap | concurrently | dotenv |

Steps:

To install on your local machine:

Clone the repo first. Then,

npm install

to install all npm packages. If you want to use the app with all of its features (auth token, email confirmation, and contact form) you must create a .env file in the root directory and add a few variables. For the auth token:

JWT_SECRET=secret

This is needed for the auth token to be created to stay logged in for 24hrs. Second, for the confirmation email:

CONFIRM_EMAIL="add the email which will send the confirmation email from(perferably not your personal)"

CONFIRM_PASS="add the password for your email"

CONFIRM_SECRET="may be needed for other uses, ex: {your name}-secret-key"

Last, for contact form you will need a bit more work done to use this on your own. This part requires OAuth2 and smtp, basically you need to create a project with googleapis and allow your email as a tester, you will get your client id and client secret from creating the project and the refresh token from entering the test. this is a tutorial on how to go about this: https://www.hostinger.com/tutorials/how-to-use-free-google-smtp-server . Once you get your client info, add it to your .env file like this:

CLIENT_ID="your client id from google user content"

CLIENT_SECRET="your client secret from google user content"

CLIENT_REFRESH_TOKEN="your refresh token from google user content"

After that has been done, make sure you are not already running any servers on port 3000 or 5000 (unless you change this projects ports) then you can run npm run dev in the terminal which should launch the application. Also There are a few things needed if you are to run this on a deployed app. Be sure to look out for logged errors. Running heroku logs --tail was extremely helpful in fullfilling all of OAuth and googles requirements to get all mail functions working.

Usage Information:

All of this code is either written up by me or used from my previous projects, as well as from google searching new techniques like the confirmation and contact. Feel free to use any of this code as it is MIT.

Questions?

You can contact me through:

Github Profile:

https://www.github.com/maxx-808

Github Deployable URL:

Not yet public as off 5/7/2021 still in the early stages of development.

Email Address:

maxhiga.hawaii@gmail.com

About

Personal Project: creating a budget tracker that allows you to track monthly payments and add expenses easily to see your spending and income throughout the month


Languages

Language:JavaScript 91.1%Language:CSS 5.1%Language:HTML 3.8%