How ragua7065/linkqr works
This is a Flask URL-shortening application. Users register or log in, then manage their own shortened URLs; they can follow a short code to its destination or download a QR-code image. The sampled routes show authentication, URL creation and lookup, per-user listing and clearing, and QR generation. SQLite is configured through Flask-SQLAlchemy. The README is empty, so the diagram reflects the sampled source; templates are represented only by their listed directory because individual template files are not shown.
Main entry points: dash.py Dashboard and URL routes · auth.py Authentication routes · __init__.py SQLite database · models.py Account and URL models
Components 9
Web application
- App factory
app/__init__.py - Application startup
run.py - Account and URL models
app/models.py - SQLite database
app/__init__.py - Page templates
app/templates
User identity
- Authentication routes
app/routes/auth.py
Short links
- Dashboard and URL routes
app/routes/dash.py - QR-code library
Other components
- Browser user
Connections 17
- Browser user → Authentication routes: submits credentials
app/routes/auth.py - Authentication routes → Account and URL models: queries accounts
app/routes/auth.py - Authentication routes → SQLite database: saves accounts
app/routes/auth.py - Authentication routes → Page templates: renders login pages
app/routes/auth.py - Authentication routes → Dashboard and URL routes: redirects after login
app/routes/auth.py - Browser user → Dashboard and URL routes: requests short-link actions
app/routes/dash.py - Dashboard and URL routes → Account and URL models: queries and creates URLs
app/routes/dash.py - Dashboard and URL routes → SQLite database: commits URL changes
app/routes/dash.py - Dashboard and URL routes → Page templates: renders dashboard
app/routes/dash.py - Dashboard and URL routes → QR-code library: generates QR image
app/routes/dash.py - Dashboard and URL routes → Browser user: redirects or sends image
app/routes/dash.py - Application startup → App factory: creates app
run.py - Application startup → SQLite database: creates tables
run.py - App factory → Authentication routes: registers blueprint
app/__init__.py - App factory → Dashboard and URL routes: registers blueprint
app/__init__.py - App factory → SQLite database: configures database
app/__init__.py - Account and URL models → SQLite database: defines ORM models
app/models.py