Hey dev.to π β I'm dixitcoder, and I just shipped DixitCoder, a full security & OSINT dashboard built entirely in Vue 3 + TypeScript + Vite.
60+ tools in one workspace: IP intel, port scanner, ping sweep, service detector, WHOIS, DNS records, SSL/TLS checker, HTTP security headers, firewall tester, DNS leak test, traceroute, GeoIP, packet sniffer, network mapper, vuln scanner, image OSINT analyzer, Base64/hash/JSON/regex utilities, system monitors, and more.
But the part I actually want feedback on is the router architecture:
π Session-aware guards β every protected route hits /api/auth/me with credentials: 'same-origin' before navigation
π Role-based access β a meta.admin flag locks user management to admins only
π Public routes β sign-in, sign-up and 404 skip the auth check cleanly
π Recent route tracking β router.afterEach records the last 5 visits into a reactive ref for a "recently launched" widget
π― Dynamic titles β document.title updates per route via meta.title
β»οΈ Scroll restoration ββ¦