🎉 Initial commit: AudiOhm - Alternative à Spotify avec streaming YouTube

Features:
- Frontend Flutter avec thème néon cyberpunk
- Backend FastAPI avec streaming YouTube
- Base de données PostgreSQL + Redis
- Authentification JWT complète
- Recherche multi-source (DB + YouTube)
- Playlists CRUD avec drag & drop
- Queue management
- Settings avec audio quality
- Interface adaptative (Desktop + Mobile)

Tech Stack:
- Frontend: Flutter 3.2+, Riverpod
- Backend: Python 3.11+, FastAPI
- Database: PostgreSQL 15+
- Cache: Redis 7+
- Streaming: yt-dlp + FFmpeg

🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
feldenr
2026-01-18 17:08:59 +01:00
commit 9c504d2c3d
128 changed files with 22638 additions and 0 deletions
+113
View File
@@ -0,0 +1,113 @@
@echo off
echo ========================================
echo SPOTIFY LE 2 - INSTALLATION AUTO
echo ========================================
echo.
REM Vérifier si Python est installé
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERREUR] Python n'est pas installe !
echo Telechargez Python 3.11+ sur: https://www.python.org/downloads/
pause
exit /b 1
)
REM Vérifier si Git est installé
git --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERREUR] Git n'est pas installe !
echo Telechargez Git sur: https://git-scm.com/download/win
pause
exit /b 1
)
echo [1/6] Verification de Docker...
docker --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ATTENTION] Docker n'est pas installe.
echo Voulez-vous installer Docker Desktop maintenant?
echo Cela va ouvrir le navigateur...
timeout /t 5
start https://www.docker.com/products/docker-desktop/
echo.
echo Une fois Docker installe, relancez ce script.
pause
exit /b 1
)
echo [OK] Docker est installe!
echo.
echo [2/6] Demarrage de l'infrastructure (PostgreSQL + Redis)...
cd docker
docker-compose up -d
if %errorlevel% neq 0 (
echo [ERREUR] Erreur lors du demarrage de Docker.
pause
exit /b 1
)
echo [OK] Infrastructure demarree!
echo.
echo [3/6] Installation des dependances Backend...
cd ..\backend
REM Créer venv si n'existe pas
if not exist venv (
echo Creation de l'environnement virtuel Python...
python -m venv venv
)
REM Activer venv et installer
call venv\Scripts\activate.bat
echo Installation des packages Python...
pip install --upgrade pip -q
pip install -r requirements.txt -q
echo [OK] Backend pret!
echo.
echo [4/6] Configuration du Backend...
if not exist .env (
echo Creation du fichier .env...
copy .env.example .env
echo [ATTENTION] Editez backend\.env et changez SECRET_KEY!
echo Appuyez sur une touche pour continuer...
pause >nul
)
echo [OK] Backend configure!
echo.
echo [5/6] Initialisation de la base de donnees...
echo Creation des tables...
python -c "from app.core.database import init_db; import asyncio; asyncio.run(init_db())"
if %errorlevel% neq 0 (
echo [ATTENTION] Erreur lors de l'init DB. Peut-etre que la DB existe deja?
)
echo [OK] Base de donnees prete!
echo.
echo [6/6] Installation des dependances Frontend...
cd ..\frontend
echo Installation des packages Flutter...
flutter pub get -q
if %errorlevel% neq 0 (
echo [ERREUR] Erreur lors de flutter pub get.
echo Verifiez que Flutter est bien installe: https://docs.flutter.dev/get-started/install
pause
exit /b 1
)
echo [OK] Frontend pret!
echo.
echo ========================================
echo INSTALLATION TERMINEE !
echo ========================================
echo.
echo Pour demarrer l'application:
echo 1. Lancer START_WINDOWS.bat
echo.
echo Ou manuellement:
echo Terminal 1 (Backend): cd backend ^&^& venv\Scripts\activate ^&^& uvicorn app.main:app --reload
echo Terminal 2 (Frontend): cd frontend ^&^& flutter run
echo.
pause