How lucciano-stn/tools-directory works
This is a small Flask web application for managing an internal tool catalogue by service. Users browse, search and filter tools, then create, edit or delete entries; separate service pages manage service records. The application also supports CSV import/export and a documented health endpoint. Routes, SQLAlchemy models, database setup and request handling are concentrated in app.py, with Jinja templates providing the interface. The README documents SQLite for local use and PostgreSQL for Docker deployments. Some route implementations are excerpted only partially, so their template links are omitted where not evidenced.
Main entry points: app.py Flask application · base.html Shared page layout · index.html Catalogue page · tool_form.html Tool form
Components 16
Web workflows
- Flask application
app.py - Browse and search
app.py - Tool management
app.py - Service management
app.py - CSV transfer
app.py - Health endpoint
app.py
Catalogue data
- Tool records
app.py - Service records
app.py
Persistence
- SQLAlchemy setup
app.py - Application database
User interface
- Catalogue page
templates/index.html - Tool form
templates/tool_form.html - Services page
templates/services.html - Shared page layout
templates/base.html - Page styling
static/styles.css
Other components
- User
Connections 21
- User → Flask application: uses
README.md - Flask application → Browse and search: registers routes
app.py - Flask application → Tool management: registers routes
app.py - Flask application → Service management: registers routes
app.py - Flask application → CSV transfer: registers routes
app.py - Flask application → Health endpoint: serves
app.py - Browse and search → Tool records: queries
app.py - Tool management → Tool records: creates and updates
app.py - Tool management → Tool records: deletes
app.py - Browse and search → Service records: filters by
app.py - Service management → Service records: manages
app.py - CSV transfer → Tool records: imports and exports
app.py - Flask application → SQLAlchemy setup: initializes
app.py - SQLAlchemy setup → Application database: connects to
app.py - Tool management → Tool form: renders
app.py - Service management → Services page: renders
app.py - Browse and search → Catalogue page: renders
- Catalogue page → Shared page layout: extends
- Tool form → Shared page layout: extends
- Services page → Shared page layout: extends
- Shared page layout → Page styling: loads styles