How thenareshofficial/corenestengine works
CoreNestEngine is a Flask stock-management application. Users register or log in, then manage incoming and adjusted stock, create or edit bills, and review dashboards and sales or audit reports. Route blueprints own these workflows, call the shared SQLite data layer, and render the web interface; session helpers guard authenticated routes. The README identifies inventory tracking and operations as the product scope. The graph reflects sampled routes and documented capabilities; unsampled database operations and template behavior are not inferred beyond those relationships.
Main entry points: app.py Flask app · auth_routes.py Authentication routes · inventory_routes.py Inventory routes · billing_routes.py Billing routes
Components 10
Web Application
- Flask app
app.py - App configuration
config/flask_config.py - Web templates
templates
Accounts & Sessions
- Authentication routes
modules/routes/auth_routes.py - Session manager
modules/auth/session.py
Inventory Operations
- Inventory routes
modules/routes/inventory_routes.py
Billing & Reporting
- Billing routes
modules/routes/billing_routes.py - Dashboard & reports
modules/routes/core_routes.py
Data Layer
- SQLite data layer
db/database.py
Other components
- Store user
Connections 18
- Store user → Flask app: uses
README.md - Flask app → App configuration: loads config
app.py - Flask app → Authentication routes: registers routes
app.py - Flask app → Inventory routes: registers routes
app.py - Flask app → Billing routes: registers routes
app.py - Flask app → Dashboard & reports: registers routes
app.py - Authentication routes → Session manager: manages sessions
modules/routes/auth_routes.py - Inventory routes → Session manager: guards routes
modules/routes/inventory_routes.py - Billing routes → Session manager: guards routes
modules/routes/billing_routes.py - Dashboard & reports → Session manager: guards routes
modules/routes/core_routes.py - Authentication routes → SQLite data layer: reads and logs
modules/routes/auth_routes.py - Inventory routes → SQLite data layer: reads and updates stock
modules/routes/inventory_routes.py - Billing routes → SQLite data layer: reads and records bills
modules/routes/billing_routes.py - Dashboard & reports → SQLite data layer: loads reports
modules/routes/core_routes.py - Authentication routes → Web templates: renders pages
modules/routes/auth_routes.py - Inventory routes → Web templates: renders pages
modules/routes/inventory_routes.py - Billing routes → Web templates: renders bill pages
modules/routes/billing_routes.py - Dashboard & reports → Web templates: renders reports
modules/routes/core_routes.py