Files
podcastic/dev.bat
MichaelandClaude Opus 5.5 1028b7968c feat: rewrite backend in Rust (axum)
Replace the Node/Express backend with a Rust implementation that keeps
the same REST API, MongoDB collections and Redis cache keys, so existing
users, subscriptions and progress keep working.

- axum + mongodb + redis, bcrypt and HS256 JWT compatible with old data
- RSS parsing, iTunes discovery/trending, background sync (1h / 4h)
- Docker image now builds a static Rust binary on debian-slim
- CI runs cargo tests before publishing the image
- compose uses pull_policy: always so a restart picks up the new image

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 09:34:33 +02:00

46 lines
1007 B
Batchfile

@echo off
setlocal enabledelayedexpansion
echo.
echo 🎙️ Podcastic Development Server Launcher
echo ==========================================
echo.
REM Check if .env exists
if not exist ".env" (
echo ⚠️ .env file not found!
echo Creating .env from .env.example...
copy .env.example .env
echo ✓ .env created. Please update with your configuration.
echo.
)
REM Check for MongoDB and Redis
echo 📡 Checking prerequisites...
echo ⚠️ Make sure MongoDB and Redis are running!
echo.
REM Start backend
echo 🚀 Starting Backend (Rust)...
cd backend
start "Podcastic Backend" cmd /c "set PORT=5000&& cargo run"
cd ..
timeout /t 2 /nobreak
REM Start frontend
echo 🚀 Starting Frontend (Vite)...
cd frontend
start "Podcastic Frontend" npm run dev
cd ..
echo.
echo ✓ Servers started!
echo.
echo 📍 Frontend: http://localhost:3000
echo 📍 Backend: http://localhost:5000
echo.
echo Windows command windows will stay open. Close them to stop servers.
echo.
pause