/hash

Primary LanguageGo

Cart Service

This repo contains the source code of the Cart service.

Architecture

alt text

Requirements

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

Usage

Inside /cart, follow the steps:

Build Images

docker compose build

Start Local

docker compose up

Testing

make test                 # Run all unit tests

Documentation

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