How adarsh7448/fast-logistics-v2 works
This is a Flask/Vue logistics transaction application: users register, log in, create and track shipment transactions, while administrators review requests, set prices and delivery status, and export reports. Flask routes and REST resources implement the API; SQLAlchemy models persist users, roles, and transactions. Celery handles CSV exports and scheduled or delivery-triggered notifications. The README describes running Flask, Redis, and Celery, but does not document the product workflow; the graph follows the sampled implementation. Some UI modules and mail/configuration details were not sampled, so their internal behavior is not expanded.
Main entry points: script.js Vue app and routing · routes.py Auth and workflow routes · tasks.py Reports and notices · app.py Flask app setup
Components 23
Web client
- Vue app and routing
static/script.js - Login
static/components/Login.js - Registration
static/components/Register.js - Navigation
static/components/Navbar.js - Home view
static/components/Home.js - User transactions
static/components/Dashboard.js - Transaction update
static/components/Update.js - Admin console
static/components/Admin.js - Footer
static/components/Footer.js
Flask API
- Flask app setup
app.py - Auth and workflow routes
application/routes.py - Transaction API
application/resources.py
Transaction data
- SQLAlchemy setup
application/database.py - Users and transactions
application/models.py
Background jobs
- Celery setup
application/celery_init.py - Reports and notices
application/tasks.py - Report formatting
application/utils.py - Email delivery
application/mail.py
Other components
- User or admin
- Redis broker
- Email provider
- Chat webhook
- CSV report files
Connections 30
- User or admin → Vue app and routing: uses
static/script.js - Vue app and routing → Login: routes to
static/script.js - Vue app and routing → Registration: routes to
static/script.js - Vue app and routing → Home view: routes to
static/script.js - Vue app and routing → User transactions: routes to
static/script.js - Vue app and routing → Admin console: routes to
static/script.js - Vue app and routing → Transaction update: routes to
static/script.js - Vue app and routing → Navigation: renders
static/script.js - Vue app and routing → Footer: renders
static/script.js - Login → Auth and workflow routes: calls login API
application/routes.py - Registration → Auth and workflow routes: calls registration API
application/routes.py - User transactions → Transaction API: calls transaction API
application/resources.py - User transactions → Auth and workflow routes: calls payment API
application/routes.py - Admin console → Transaction API: loads transactions
application/resources.py - Admin console → Auth and workflow routes: reviews and exports
application/routes.py - Flask app setup → Auth and workflow routes: loads routes
app.py - Flask app setup → Transaction API: registers API
app.py - Flask app setup → SQLAlchemy setup: initializes
app.py - Flask app setup → Celery setup: initializes
app.py - Users and transactions → SQLAlchemy setup: uses ORM
application/models.py - Transaction API → Users and transactions: queries and changes
application/resources.py - Auth and workflow routes → Users and transactions: queries and changes
application/routes.py - Auth and workflow routes → Reports and notices: dispatches jobs
application/routes.py - Reports and notices → Users and transactions: reads transactions
application/tasks.py - Reports and notices → Report formatting: formats report
application/tasks.py - Reports and notices → Email delivery: sends email
application/tasks.py - Reports and notices → CSV report files: writes CSV
application/tasks.py - Reports and notices → Chat webhook: posts update
application/tasks.py - Email delivery → Email provider
- Celery setup → Redis broker