How baabaawassim8-ops/mini-projet-cloud22 works
PME Cloud is a Flask-based commercial management app for small artisan-product businesses. Users work through a browser dashboard: product and order actions pass through the frontend proxy to the relevant service, while the dashboard also presents sales indicators, recent orders, notifications, and service health. Orders coordinate stock changes, persistence, and recorded notifications. The README documents separate PostgreSQL stores for all three services. Relationships shown here are supported by the sampled source and README; the dashboard HTML and Compose wiring were not sampled, so those links are not expanded.
Main entry points: app-demo/app.py Frontend API proxy · commandes/app.py Orders API · catalogue/app.py Catalogue API · notifications/app.py Notification API
Components 9
Dashboard
- Dashboard UI
app-demo/static/app.js - Frontend API proxy
app-demo/app.py
Commerce services
- Catalogue API
services/catalogue/app.py - Orders API
services/commandes/app.py
Notifications
- Notification API
services/notifications/app.py
Persistent data
- Catalogue PostgreSQL
- Orders PostgreSQL
- Notifications PostgreSQL
Other components
- Business user
Connections 13
- Business user → Dashboard UI: uses
README.md - Dashboard UI → Frontend API proxy: requests API
app-demo/static/app.js - Frontend API proxy → Catalogue API: proxies requests
app-demo/app.py - Frontend API proxy → Orders API: proxies requests
app-demo/app.py - Frontend API proxy → Notification API: proxies requests
app-demo/app.py - Frontend API proxy → Catalogue API: checks health
app-demo/app.py - Frontend API proxy → Orders API: checks health
app-demo/app.py - Frontend API proxy → Notification API: checks health
app-demo/app.py - Orders API → Catalogue API: adjusts stock
services/commandes/app.py - Orders API → Notification API: records alerts
services/commandes/app.py - Catalogue API → Catalogue PostgreSQL: reads and writes
services/catalogue/app.py - Orders API → Orders PostgreSQL: reads and writes
services/commandes/app.py - Notification API → Notifications PostgreSQL: reads and writes
services/notifications/app.py