Modern car rental management system built with Java Swing, featuring role-based dashboards, secure authentication, and persistent session management.
- Fleet Management: Add, update, and track vehicle inventory with mileage monitoring
- User Management: Role-based access control (Admin/User) with secure authentication
- Booking System: Complete rental lifecycle management (create, update, track bookings)
- Session Persistence: Automatic login restoration across application restarts
- Password Reset: Self-service password recovery with secure hash regeneration
- Modern UI: Dark-themed interface with FlatLaf, responsive layouts, and smooth animations
- Java: 25 (compatible with Java 11+)
- Build Tool: Maven 3.9.11
- UI Framework: Java Swing with FlatLaf modern theme
- Database: MySQL/MariaDB
- Security: SHA-256 password hashing with unique salts
- Architecture: MVC pattern with DAO layer
RENTOPS-AI/
dao/ # Data Access Objects
models/ # Domain models
services/ # Business logic layer
ui/ # Swing UI components
components/ # Reusable UI components
utils/ # Utilities and helpers
config/ # Configuration files
sql/ # Database scripts
seeds/ # Sample data
migrations/ # Schema updates
maintenance/ # Utility scripts
docs/ # Documentation
- Java 11 or higher
- Maven 3.6+
- MySQL/MariaDB 5.7+
-
Clone the repository
git clone https://github.com/yourusername/RENTOPS-AI.git cd RENTOPS-AI -
Configure database
Edit
config/db.properties:db.url=jdbc:mysql://localhost:3306/rentops_ai db.user=your_username db.password=your_password
-
Initialize database
mysql -u root -p < sql/seeds/db_setup.sql -
Build and run
mvn clean package mvn exec:java
Core Tables:
users- User accounts with role-based permissionscars- Vehicle inventory with mileage trackingbookings- Rental transactionsuser_sessions- Persistent login sessions
- Password Storage: SHA-256 hashing with unique per-user salts
- Session Management: Secure token-based persistent sessions
- Password Reset: Self-service recovery with validation
- SQL Injection: Parameterized queries via PreparedStatements
- Aravind Lal
- Abhijith P
- Aleena Mary Joseph
- Harshitha Hari
- Sween Shaji
MIT License - see LICENSE file for details.
This is an academic project developed for educational purposes.