Microservice for managing grocery items.
Available endpoints:
/live
: Liveliness check/ready
: Readiness check/v1/all
: Returns a list of all products/v1/:id
: Returns a single product by id
Available query parameters:
limit
: The number of returned productsoffset
: Which product to start fromsort
: Sort by field (none, name, price, category)order
: Sort order (asc, desc)history
: Limit number of prices to display per item (last, none, all)category
: Filter by category name
Branches:
Prerequisites:
Example usage:
- See all available options:
make help
- Run microservice in a container:
make run
- Release a new version:
make release ver=x.y.z
All work should be done on main
, prod
should never be checked out or manually edited.
When releasing, the changes are merged into prod
and both branches are pushed.
A GitHub Action workflow will then build and publish the image to GHCR, and deploy it to Kubernetes.
Multimo is licensed under the GNU AGPLv3 license.