Meal Management Platform
Food supply, special diets and production management platform for a public hospital: an API and an admin panel with full traceability.
Built for a public tender to supply groceries, prepare meals and distribute them for a hospital. The tender requires an information system able to record daily production, control stock, distribute meals, handle special diets, receive goods and manage non-conformities, with full traceability. The system covers each of those points.
The backend is a NestJS API with TypeORM on MySQL, JWT access and refresh tokens with global role guards, and Swagger documentation. Stock comes from Odoo, the source of truth, through XML-RPC, with a stub mode so development does not depend on a real instance.
The frontend is a Next.js admin panel with a screen per module, a daily summary on the home page, forms validated with react-hook-form and zod, and authentication through httpOnly cookies handled server-side.
Quality incidents are handled in their own module: non-conformities are reported with a category and a severity and tracked until they are resolved, filtering by open, in treatment or closed.