A simple REST API providing a way to manage and browse products
https://elena-kolevska.github.io/redis-product-catalogue-service
A simple REST API providing a way to manage and browse products
This project is done as a simple exercise for data modelling with Redis in Go
Image
Product
Category
You can find the API documentation here.
It’s written using the OpenAPI 3 specification, with the yaml
files living in the docs
folder.
To export the documentation to a self-contained, zero-dependencies html file, you can use the ReDoc library. Just run the following command:
redoc-cli bundle docs/index.yaml --output docs/index.html --title "Redis Product Catalogue Service Documentation" --options.theme.colors.primary.main=#D82C20
When setting up the program rename the conf_example.json
file to conf.json
and populate it with your values.
Execute tests the standard way, by running
go test