37 lines
921 B
Bash
37 lines
921 B
Bash
#!/bin/bash
|
|
|
|
# Tree structure of the Secure Proxy project
|
|
# Run this to see the full project structure
|
|
|
|
echo "🔐 Secure Proxy - Project Structure"
|
|
echo "===================================="
|
|
echo ""
|
|
|
|
tree -I 'node_modules|sessions|.git' -a /Users/alexandre/projet/openidv2
|
|
|
|
echo ""
|
|
echo "📊 Project Statistics:"
|
|
echo ""
|
|
|
|
# Count files
|
|
echo "Files by type:"
|
|
find /Users/alexandre/projet/openidv2 -type f \
|
|
-not -path '*/node_modules/*' \
|
|
-not -path '*/\.git/*' | \
|
|
sed 's/.*\.//' | sort | uniq -c | sort -rn | \
|
|
awk '{print " " $2 ": " $1}'
|
|
|
|
echo ""
|
|
echo "Total lines of code:"
|
|
find /Users/alexandre/projet/openidv2/src -type f -name "*.js" \
|
|
| xargs wc -l | tail -1 | awk '{print " " $1 " lines"}'
|
|
|
|
echo ""
|
|
echo "Documentation files:"
|
|
ls -1 /Users/alexandre/projet/openidv2/*.md 2>/dev/null | \
|
|
xargs -I {} basename {} | \
|
|
awk '{print " - " $1}'
|
|
|
|
echo ""
|
|
echo "✨ Project is ready for development!"
|