Discover Packages
github.com/multimoml/dispatcher
command
module
Version:
v1.1.6
Opens a new window with list of versions in this module.
Published: Jan 3, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Dispatcher
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 products
offset
: Which product to start from
sort
: 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:
main
: Contains latest development version
prod
: Contains stable, tagged releases
Setup/installation
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.
License
Multimo is licensed under the GNU AGPLv3 license .
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
Click to show internal directories.
Click to hide internal directories.