https://github.com/tirth-22/habit-streak-tracker
Core Java + Swing GUI Project with mysql db and JDBC for connection
https://github.com/tirth-22/habit-streak-tracker
corejava jdbc-connector mysql-database swing
Last synced: 9 months ago
JSON representation
Core Java + Swing GUI Project with mysql db and JDBC for connection
- Host: GitHub
- URL: https://github.com/tirth-22/habit-streak-tracker
- Owner: Tirth-22
- Created: 2025-08-08T04:10:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T04:18:54.000Z (10 months ago)
- Last Synced: 2025-08-08T06:19:18.592Z (10 months ago)
- Topics: corejava, jdbc-connector, mysql-database, swing
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Habit Streak Counter
A Java-based habit tracking application that helps you monitor and maintain daily streaks for your personal habits.
Supports **JDBC** with MySQL for data storage, and includes both **CLI** and **Swing GUI** interfaces.
(Containig core java concepts)
---
## Features
- **User Login System** – Track habits for individual users.
- **Add, Update, and Delete Habits**.
- **Daily Streak Tracking** with visual indicators in the GUI.
- **MySQL Database Integration** using JDBC.
- **Modular Project Structure** with DAO, model, and UI layers.
---
## Setup Instructions
### 1. Clone the Repository
```bash
git clone https://github.com/Tirth-22/habit-streak-tracker.git
cd habit-streak-tracker
```
### 2. Configure Database
Create a MySQL database.
```bash
db.url=jdbc:mysql://localhost:3306/your_database
db.user=your_username
db.password=your_password
```
### 3. Compile and Run
```bash
javac -cp "lib/*" app/HabitTrackerApp.java
java -cp ".;lib/*" app.HabitTrackerApp
```