#!/bin/bash

echo "===== Starting LibreChat Development Environment ====="
echo ""
echo "1. Checking MongoDB status..."
systemctl status mongod --no-pager | head -3

echo ""
echo "2. Starting LibreChat development server..."
echo "   Frontend: http://localhost:3080"
echo "   Backend API: http://localhost:3080/api"
echo ""
echo "Press Ctrl+C to stop the server"
echo ""

cd /opt/front-dev
npm run dev
