added stop start files and testing multivendor support

This commit is contained in:
root
2026-01-27 23:00:12 +00:00
parent 5ae2b42ce8
commit b9421ea0e9
5 changed files with 420 additions and 158 deletions

22
start-servers.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
echo "Starting CVE Dashboard servers..."
# Start backend
cd backend
nohup node server.js > backend.log 2>&1 &
BACKEND_PID=$!
echo "Backend started (PID: $BACKEND_PID)"
# Start frontend
cd ../frontend
nohup npm start > frontend.log 2>&1 &
FRONTEND_PID=$!
echo "Frontend started (PID: $FRONTEND_PID)"
# Save PIDs
echo $BACKEND_PID > ../backend.pid
echo $FRONTEND_PID > ../frontend.pid
echo "✓ Both servers running in background"
echo " Backend: http://localhost:3001"
echo " Frontend: http://localhost:3000"