How wilfried07-k/projet-cnps works
CNPS Order Manager is a procurement workflow application with a React client and Express API. Users can browse the service catalogue, create and track purchase requests, and access tendering, contract, budget, dispute, and administration capabilities. The backend exposes domain APIs and the sampled order controller reads and writes a shared store; its configured database behavior is not established by the excerpts. The frontend route map and backend entry point are sampled, but most feature-to-API wiring is not, so those links are omitted.
Main entry points: App.tsx App routes · index.js API route index · commandesRoutes.js Order routes · commandesController.js Order controller
Components 20
Web application
- App routes
cnps-order-manager/src/App.tsx - Sign-in pages
cnps-order-manager/src/pages/auth - Role dashboards
cnps-order-manager/src/pages/dashboard
Procurement workflows
- Service catalogue
cnps-order-manager/src/pages/portail/CatalogueServicesPage.tsx - Purchase requests
cnps-order-manager/src/pages/commandes - Tendering and offers
cnps-order-manager/src/pages/appels-offres - Contracts
cnps-order-manager/src/pages/contrats
Operations and oversight
- Budget tracking
cnps-order-manager/src/pages/budget - Dispute handling
cnps-order-manager/src/pages/litiges - Administration
cnps-order-manager/src/pages/admin - Audit history
backend-cnps/src/controllers/historiqueController.js
Backend API
- Express API app
backend-cnps/src/app.js - API route index
backend-cnps/src/routes/index.js - Order routes
backend-cnps/src/routes/commandesRoutes.js - Order controller
backend-cnps/src/controllers/commandesController.js - Tender routes
backend-cnps/src/routes/appelsOffresRoutes.js - Tender controller
backend-cnps/src/controllers/appelsOffresController.js - Shared data store
backend-cnps/src/data/store.js - Other domain APIs
backend-cnps/src/controllers
Other components
- Staff or provider
Connections 17
- Staff or provider → App routes: uses
- App routes → Sign-in pages: routes to
- App routes → Role dashboards: routes to
- App routes → Purchase requests: routes to
- App routes → Tendering and offers: routes to
- App routes → Contracts: routes to
- App routes → Service catalogue: routes to
- App routes → Budget tracking: routes to
- App routes → Dispute handling: routes to
- App routes → Administration: routes to
- Express API app → API route index: mounts API
- API route index → Order routes: routes orders
- API route index → Tender routes: routes tenders
- Order routes → Order controller: dispatches
- Tender routes → Tender controller: dispatches
- Order controller → Shared data store: reads and writes
- Tender controller → Shared data store: reads and writes