EchoDB

EchoDB Smoke Test Checklist

Preparation

  1. Install dependencies:
    composer install
    
  2. Copy environment file:
    cp config/.env.example .env
    
  3. Update .env with your database credentials and create the database:
    mysql -u <user> -p -e "CREATE DATABASE echodb DEFAULT CHARACTER SET utf8mb4;"
    mysql -u <user> -p echodb < sql/init.sql
    
  4. Launch the built-in server:
    php -S localhost:8080 -t public
    

API Sanity Checks

UI Verification

  1. Open http://localhost:8080 in a browser.
  2. Perform an update using the left-side form.
  3. Confirm the right-side widgets react instantly:
    • Visualizer animates a pulse traveling from DB to UI.
    • Timeline prepends a row showing the diff (e.g., status: pending → shipped).
    • Stats counters increment and the sparkline updates.
    • Optional: toggle sound to hear the matching tone.
  4. Toggle dark/light mode to verify theming.

If any step fails, inspect logs/app.log for detailed traces.