Commit Graph

6 Commits

Author SHA1 Message Date
Nabil Derouiche 1a859fc5b9 fix: add api.bolbol.tn to CORS allowed origins 2026-04-20 22:20:03 +01:00
Nabil Derouiche 088f2b8736 security: remove credentials from docs, centralize CORS, add reverse proxy support 2026-04-19 21:56:08 +01:00
Nabil Derouiche 10b5702e11 feat: add Swagger UI for interactive API documentation 2026-04-19 21:03:20 +01:00
Nabil Derouiche d1e3ffe12a fix: permit /error endpoint to show proper error messages 2026-04-19 20:32:25 +01:00
Nabil Derouiche b33cd12d09 fix: add missing PurchaseOrder import in DashboardController 2026-04-19 20:20:07 +01:00
Nabil Derouiche b53fcf0ab9 feat: initial Spring Boot API - modules Auth, Articles, Tiers, Achats, Ventes, Production, Stock, Dashboard
- Architecture n-tiers : Controller → Service → Repository → Model
- Sécurité JWT complète (Spring Security 6 + JJWT 0.12)
- 6 rôles : PDG, Vente, Achat, Production, Magasinier, RH
- Entités JPA : User, Role, Article, Client, Fournisseur, PurchaseOrder, SalesOrder, DeliveryNote, ProductionOrder, BomLine, StockMovement
- Services métier : StockService, PurchaseOrderService, SalesOrderService, ProductionOrderService
- DataInitializer : création des rôles + admin par défaut au démarrage
- Docker Compose : Spring Boot + MySQL 8

PFE Ali Guennari — SUARL Rayhan
2026-04-19 19:39:31 +01:00