How bill-dev-it/msis207_web_application_project works
AeroRUL is a B2B aviation engine and parts marketplace with buyer, supplier, and admin workflows plus RUL analysis and replacement recommendations. The main path runs from marketplace browsing and fleet management through RUL-informed replacement, cart, and checkout; suppliers maintain listings and orders, while admins oversee marketplace and payment operations. The graph includes the backend service/repository layer and the separate inference service. Several capabilities are documented in the README but their implementation was not sampled, so those subsystem links rely on that documentation rather than inspected source.
Main entry points: App.jsx React application · server.js REST API · MyEngines.jsx Buyer fleet views · rul.controller.js RUL analysis API
Components 25
Web experience
- React application
frontend/src/app/App.jsx - Public marketplace
frontend/src/screens/public/Marketplace.jsx - Buyer fleet views
frontend/src/screens/buyer/MyEngines.jsx - Buyer checkout
frontend/src/screens/buyer/CheckoutReviewPage.jsx - Supplier workspace
frontend/src/screens/supplier/SupplierHome.jsx - Admin console
frontend/src/screens/admin/AdminDashboardLive.jsx
Marketplace API
- REST API
backend/src/server.js - Authentication
backend/src/controllers/auth - Product catalog
backend/src/controllers/product.controller.js - Public listings
backend/src/controllers/public-listing.controller.js - Supplier listings and orders
backend/src/controllers/supplier - Admin operations
backend/src/controllers/admin
Fleet and RUL
- Buyer fleet API
backend/src/controllers/buyer/engines.controller.js - Fleet domain service
backend/src/services/buyer/engines.service.js - Fleet data repository
backend/src/services/buyer/engines.repository.js - RUL analysis API
backend/src/controllers/buyer/rul.controller.js - Replacement recommendations
backend/src/services/buyer/rul/replacement-recommendations.service.js
Commerce operations
- Cart and checkout
backend/src/controllers/buyer/checkout.controller.js - Order management
backend/src/controllers/buyer/orders - PostgreSQL
backend/src/config/db.js
RUL inference
- Inference integration
backend/src/services/rul-inference.service.js - RUL inference API
rul-service/api.py - Sensor preprocessing
rul-service/preprocessing/preprocessor.py - Prediction runner
rul-service/inference/runner.py
Other components
- Marketplace user
Connections 29
- Marketplace user → React application: uses
README.md - React application → REST API: calls REST API
README.md - React application → Public marketplace: renders
- React application → Buyer fleet views: renders
- React application → Buyer checkout: renders
- React application → Supplier workspace: renders
- React application → Admin console: renders
- Public marketplace → Product catalog: requests catalog
- REST API → Authentication: routes requests
- REST API → Product catalog: routes requests
- REST API → Public listings: routes requests
- REST API → Buyer fleet API: routes requests
- Buyer fleet API → Fleet domain service: calls
backend/src/controllers/buyer/engines.controller.js - Fleet domain service → Fleet data repository: delegates
backend/src/services/buyer/engines.service.js - Fleet data repository → PostgreSQL: queries
backend/src/services/buyer/engines.repository.js - Buyer fleet views → Buyer fleet API: loads fleet
- REST API → RUL analysis API: routes RUL requests
- RUL analysis API → Inference integration: requests inference
- Inference integration → RUL inference API: calls inference
README.md - RUL inference API → Sensor preprocessing: preprocesses sensors
rul-service/api.py - RUL inference API → Prediction runner: runs prediction
rul-service/api.py - Prediction runner → Sensor preprocessing: uses preprocessing
rul-service/inference/runner.py - RUL analysis API → Replacement recommendations: offers replacements
- Buyer fleet views → Replacement recommendations: uses Replace and Buy
- Buyer checkout → Cart and checkout: submits checkout
- Cart and checkout → Order management: creates orders
- Supplier workspace → Supplier listings and orders: manages listings
- Admin console → Admin operations: manages marketplace
- Product catalog → PostgreSQL: queries catalog