Giter Club home page Giter Club logo

asset-tracker's Introduction

Update 2022-09-01: Google changed their policy on less secure apps attached to an account. App passwords can now be generated and are separate from the main password. You may add an app password in the res/config.xml file for the Asset Tracker.

The goal here was to summarize concepts that I have learned in school. This program is complete with a GUI, a connection to a MySQL database, and some features using the JavaMail API. GUI programming isn't my strongest point but I learned some things along the way. It might have been better to use the card layout instead of making multiple JFrames. Using one actionPerformed method would have been better instead of attaching one to each button. There still needs to be an edit function where an asset can be updated. If the text in any cell of the asset table gets too large I need to add a way to scroll through the content. A future improvement would be to allow the sorting of each column in the table. Another one would be to send a URL for the user to update their password instead of mailing them one.

Using this program on your local machine needs:

  1. For you to clone this project.
  2. Update the config.xml file from the "res" folder to have your email and password in the "env-entry-value" tags.
  3. Your email account would have to approve the use of less-secure applications.
  4. Update the variables in the MySQLDriver.java file to match the url, user, and password for connecting to your database.
  5. Run the asset_tracker_db_schema.sql file located in "res" folder in MySQL to create a few tables.
  6. Export the project as a runnable jar file for use.

Here are some pictures of the program.

Register Account Window

Log In Page

Forgotten Password

The Asset Page

Deleting Assets

asset-tracker's People

Contributors

d-quach avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.