garage-services.me

garage-services

This repository includes:

Run as Desktop App (no localhost:5000)

  1. Copy .env.example to .env.
  2. Set database values in .env:
    • JAVA_DB_URL
    • JAVA_DB_USER
    • JAVA_DB_PASSWORD
  3. Create tables:
mysql -u root -p < sql/setup.sql
  1. Launch desktop UI:
.\run-desktop.cmd

Alternative:

npm.cmd start

This opens the Swing application directly and does not use a browser URL. The launcher keeps Maven artifacts under project-local .m2/.

Optional Email for Desktop Bookings

Set these only if you want email sending from the desktop app:

Notes:

Optional Backend Mode (localhost:5000)

If you still want server mode:

.\run-project.cmd

or

npm.cmd run start:server