4310a5cc2d
Frontend: - Vite + React 18 + TypeScript + Tailwind v4 + Shadcn/ui - React Flow v12 canvas with all 11 node types and 5 edge types - Dark theme with project design system (cyan, green, orange, purple accents) - Collapsible sidebar, toolbar, detail panel - Zustand store for canvas state - Demo data with 10 nodes and 10 edges Backend: - FastAPI + SQLAlchemy async + SQLite (Python 3.13) - DB models: Node, Edge, CanvasState, PendingDevice, ScanRun - REST API routes: auth, nodes, edges, canvas, scan, status (WebSocket) - JWT auth + bcrypt via config.yml - Pydantic v2 schemas Infra: - GitHub Actions quality + security workflows - .gitignore, .env.example, verify-tooling.sh, security-check.sh
50 lines
1.0 KiB
Bash
Executable File
50 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Verifying project tooling..."
|
|
|
|
# GitHub CLI
|
|
if command -v gh &> /dev/null; then
|
|
if gh auth status &> /dev/null; then
|
|
echo "✓ GitHub CLI authenticated"
|
|
else
|
|
echo "✗ GitHub CLI not authenticated. Run: gh auth login"
|
|
exit 1
|
|
fi
|
|
else
|
|
echo "⚠ GitHub CLI not installed. Run: brew install gh"
|
|
fi
|
|
|
|
# Python
|
|
if command -v python3 &> /dev/null; then
|
|
echo "✓ Python $(python3 --version)"
|
|
else
|
|
echo "✗ Python not installed"
|
|
exit 1
|
|
fi
|
|
|
|
# Node
|
|
if command -v node &> /dev/null; then
|
|
echo "✓ Node $(node --version)"
|
|
else
|
|
echo "✗ Node not installed"
|
|
exit 1
|
|
fi
|
|
|
|
# nmap (required for scanner service)
|
|
if command -v nmap &> /dev/null; then
|
|
echo "✓ nmap $(nmap --version | head -1)"
|
|
else
|
|
echo "⚠ nmap not installed. Run: brew install nmap (required for scanner)"
|
|
fi
|
|
|
|
# Docker
|
|
if command -v docker &> /dev/null; then
|
|
echo "✓ Docker $(docker --version)"
|
|
else
|
|
echo "⚠ Docker not installed. Required for production deployment."
|
|
fi
|
|
|
|
echo ""
|
|
echo "Tooling verification complete!"
|