How flag-boolean/security-webinfo works
Open Source Security Tools Registry is a React/FastAPI web app for browsing and maintaining a catalog of open-source security tools. Users register or log in, then search and filter the catalog, view tool details, and—when authenticated—create, edit, or delete entries. The frontend routes pages and sends requests through a shared API client; FastAPI routes handle authentication and catalog operations against SQLAlchemy models and the configured database. The README documents the supported security-tool categories. The graph follows shown calls and documented behavior; database initialization and some page-to-API details are only partially sampled.
Main entry points: auth.py Authentication routes · database.py Database sessions · security_tools.py Catalog routes · App.js Page router
Components 16
Web interface
- Page router
frontend/src/App.js - Navigation layout
frontend/src/components/Layout.js - Login page
frontend/src/pages/Login.js - Registration page
frontend/src/pages/Register.js - Catalog page
frontend/src/pages/ToolsList.js - API client
frontend/src/services/api.js
API and identity
- FastAPI application
backend/app/main.py - Authentication routes
backend/app/routes/auth.py - Password hashing
backend/app/utils/auth.py - Catalog routes
backend/app/routes/security_tools.py - Configuration
backend/app/config.py
Catalog domain
- User model
backend/app/models/user.py - Security tool model
backend/app/models/security_tool.py
Persistence
- Database sessions
backend/app/database.py - Relational database
Other components
- User
Connections 26
- User → Page router: uses
frontend/src/App.js - Page router → Navigation layout: routes to
frontend/src/App.js - Page router → Login page: routes to
frontend/src/App.js - Page router → Registration page: routes to
frontend/src/App.js - Page router → Catalog page: routes to
frontend/src/App.js - Login page → API client: calls
frontend/src/pages/Login.js - Registration page → API client: calls
frontend/src/pages/Register.js - Catalog page → API client: calls
frontend/src/pages/ToolsList.js - API client → Authentication routes: HTTP requests
README.md - API client → Catalog routes: HTTP requests
README.md - FastAPI application → Authentication routes: registers
backend/app/main.py - FastAPI application → Catalog routes: registers
backend/app/main.py - FastAPI application → Configuration: reads
backend/app/main.py - FastAPI application → Database sessions: creates tables
backend/app/main.py - Authentication routes → Password hashing: verifies and hashes
backend/app/routes/auth.py - Authentication routes → User model: queries and creates
backend/app/routes/auth.py - Authentication routes → Database sessions: opens sessions
backend/app/routes/auth.py - Authentication routes → Configuration: signs tokens
backend/app/routes/auth.py - Catalog routes → Authentication routes: checks current user
backend/app/routes/security_tools.py - Catalog routes → Security tool model: queries and changes
backend/app/routes/security_tools.py - Catalog routes → User model: requires user
backend/app/routes/security_tools.py - Catalog routes → Database sessions: opens sessions
backend/app/routes/security_tools.py - User model → Database sessions: uses base
backend/app/models/user.py - Security tool model → Database sessions: uses base
backend/app/models/security_tool.py - Database sessions → Configuration: gets database URL
backend/app/database.py - Database sessions → Relational database: connects