43 lines
955 B
Bash
Executable File
43 lines
955 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🔍 University Portal - Quick Verification Check"
|
|
echo "=============================================="
|
|
|
|
# Check if server is running
|
|
echo "📡 Checking server status..."
|
|
if curl -s http://localhost:3002 > /dev/null; then
|
|
echo "✅ Server is running on http://localhost:3002"
|
|
else
|
|
echo "❌ Server is not responding"
|
|
exit 1
|
|
fi
|
|
|
|
# Check key pages accessibility
|
|
echo ""
|
|
echo "🌐 Checking key pages..."
|
|
|
|
pages=(
|
|
"/"
|
|
"/dashboard"
|
|
"/accessibility"
|
|
"/wellbeing"
|
|
"/admin"
|
|
"/privacy"
|
|
)
|
|
|
|
for page in "${pages[@]}"; do
|
|
if curl -s "http://localhost:3002$page" > /dev/null; then
|
|
echo "✅ $page - Accessible"
|
|
else
|
|
echo "❌ $page - Not accessible"
|
|
fi
|
|
done
|
|
|
|
echo ""
|
|
echo "🎉 Verification complete!"
|
|
echo "Demo is ready at: http://localhost:3002"
|
|
echo ""
|
|
echo "Demo Accounts:"
|
|
echo "- Student: student@university.edu / password123"
|
|
echo "- Admin: admin@university.edu / admin123"
|