2992e4805e761081752ff8fadbdebb007710b4f1
findOne and findOneByUuid mapped order.cart before checking that the order exists, and the service's findOneByUuid did the same, so a missing order threw a TypeError: GET /orders/:uuid/cart, add-product, remove-product, generate-invoice and generate-delivery-note answered 500. The service's findOneByUuid now returns null for a missing order, and each caller handles it: the controllers answer 404, sendInvoice and sendDeliveryNote throw a NotFoundError. Refs libretech/mp#71
libreshop/cms
Strapi-based content backend (catalogue, orders, customers).
Part of the libreshop toolkit. Image
published at git.librete.ch/libreshop/cms on every push to main
and on v* tags.
Source
This repo was extracted from mp/cms/ on 2026-04-29; mp was the
first concrete adapter consuming the toolkit. mp's compose.yml now
pulls git.librete.ch/libreshop/cms:<pin> instead of building locally.
Build locally
docker build -t libreshop/cms:dev .
Adapter contract
See docker-entrypoint.sh and Dockerfile for the runtime surface.
Adapters configure the component via env vars and bind-mounted volumes;
do not patch the running container or rely on internal paths.
Languages
TypeScript
95%
Shell
4.4%
JavaScript
0.4%
Dockerfile
0.2%