This repo contains the source code of the Cart service.
Name | Version | Notes | Mandatory |
---|---|---|---|
golang | >= go1.15.14 | Main programming language | true |
docker | n/a | Used to handle core mock images and start local service | true |
[sh/bash] | depending on OS. Anyway, you should be able do execute any .sh file | Used to lint checks, test processes and some console interface customizations | true |
make | depending on OS. Anyway, you should be able do execute make commands to run the project, tests and localenvironment | n/a | true |
Inside /cart, follow the steps:
docker compose build
docker compose up
make test # Run all unit tests
To access the docs locally, just change the host in the url to 127.0.0.1:9091. Something like: http://127.0.0.1:9091/cart/docs