Skip to content

BorysDudnyk/Mail-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mail-tracker

Description

Mail-tracker is a JavaFX desktop application connected to a MySQL database.

The project includes a user authentication and registration system, as well as database-driven functionality for analyzing users and messages (letters). Users can log in, register, and execute different SQL-based queries through a graphical interface.

The application is built using JavaFX with FXML and follows a simple MVC-like structure (Controllers, Models, Database layer).


Development Tools

IntelliJ IDEA Scene Builder MySQL Workbench


Technologies

Java JavaFX FXML MySQL JDBC


Features

  • User registration system
  • User login authentication
  • MySQL database integration
  • Display of users and messages
  • SQL query-based statistics:
    • User information list
    • Longest message
    • Shortest message
    • User who sent the smallest message
    • Users without messages
  • Scene switching (Login / Registration / Main app)
  • Simple UI animations (Shake effect)

Preview

Login screen

Login

Registration screen

Registration

Main dashboard

Dashboard


Functionality

Authentication

Users can register and log in using credentials stored in the MySQL database.

Database Queries

The application executes SQL queries to:

  • Retrieve all users
  • Find longest/shortest messages
  • Identify users without messages
  • Analyze message statistics

UI Navigation

The application uses JavaFX scenes and allows switching between:

  • Login page
  • Registration page
  • Main dashboard

Database Structure

The project uses a MySQL schema (new_schema) with tables:

  • users

    • idusers
    • firstname
    • lastname
    • username
    • password
    • location
    • gender
  • letters

    • sender_username
    • message_text

Purpose

This project was created for learning purposes to practice:

  • JavaFX development
  • MySQL database integration
  • JDBC queries
  • UI design with FXML
  • basic MVC architecture

About

Mail-tracker is a JavaFX desktop application with MySQL integration that allows users to register, log in, and view data through SQL-based queries.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors