Skip to content

Create self-hosted fuel tracker website#1

Open
JB0710 wants to merge 8 commits into
mainfrom
feature/fuel-tracker-site-16634727781270724794
Open

Create self-hosted fuel tracker website#1
JB0710 wants to merge 8 commits into
mainfrom
feature/fuel-tracker-site-16634727781270724794

Conversation

@JB0710
Copy link
Copy Markdown
Owner

@JB0710 JB0710 commented Jun 2, 2026

Implemented a complete self-hosted fuel tracker website.
Key components:

  • index.php: Dashboard with real-time statistics calculation.
  • add.php: Form for adding new fuel entries.
  • includes/db.php: PDO-based MySQL connection.
  • css/style.css: Modern, responsive styling.
  • schema.sql: MySQL table definition.
  • README.md: Setup and usage guide.
    Verified logic via SQLite mock and verified UI rendering via Playwright screenshots.

PR created automatically by Jules for task 16634727781270724794 started by @JB0710

- Created dashboard with fuel statistics
- Implemented entry form for fueling data
- Added MySQL schema and connection logic
- Designed responsive CSS interface
- Included README with setup instructions

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 7 commits June 2, 2026 13:44
- Changed units from Metric (km/L) to US (Miles/Gallons)
- Updated MPG calculation logic
- Added dark mode support using CSS media queries
- Updated database schema and README to reflect US measurements

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
- Created setup_windows.ps1 for automated configuration at C:\IT\Apps\FuelTracker
- Created start_app.bat for one-click startup of DB and Web server
- Updated README with detailed Windows standalone setup instructions
- Maintained US measurements and Dark Mode support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
- Included direct download links for PHP, MariaDB, and phpMyAdmin in README
- Added phpmyadmin_config.inc.php for automated standalone configuration
- Updated setup_windows.ps1 to deploy and configure phpMyAdmin
- Updated start_app.bat to inform user of phpMyAdmin access URL
- Maintained US measurements and Dark Mode support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
…tion

- Enhanced setup_windows.ps1 to download and extract PHP, MariaDB, and phpMyAdmin automatically
- Added automated database and table creation during setup
- Updated README with simplified installation steps
- Ensured consistent path usage across all scripts and documentation
- Maintained US measurements and Dark Mode support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
- Updated setup_windows.ps1 to use port 3307 for temporary initialization to avoid conflicts
- Added a retry loop to wait for MariaDB port availability
- Explicitly used '-u root' and port in MariaDB client calls to fix permission issues
- Improved process management and error handling for temporary MariaDB service
- Maintained US measurements, Dark Mode, and phpMyAdmin support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
- Replaced illegal '<' redirection with 'Get-Content | ...' pipe
- Ensured compatible SQL schema injection for PowerShell environment
- Maintained all robust initialization logic and US measurements support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
- Updated db.php and phpmyadmin_config.inc.php with the required root password
- Standardized all components to use port 3306
- Updated setup_windows.ps1 to automatically set the root password during initialization
- Maintained all previous features including US measurements, Dark Mode, and phpMyAdmin support

Co-authored-by: JB0710 <59209496+JB0710@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant