#!/bin/bash # ============================================================================ # Spotify Le 2 - Start Web Client # ============================================================================ echo "========================================" echo " SPOTIFY LE 2 - WEB CLIENT" echo "========================================" echo "" cd frontend echo "Checking Flutter installation..." flutter --version if [ $? -ne 0 ]; then echo "[ERROR] Flutter is not installed!" exit 1 fi echo "" echo "Installing dependencies..." flutter pub get echo "" echo "Starting web application..." echo "The app will open in your browser at: http://localhost:8080" echo "" echo "Press Ctrl+C to stop the server" echo "" flutter run -d chrome