module
Version:
v0.0.0-...-9952396
Opens a new window with list of versions in this module.
Published: Dec 27, 2021
License: BSD-3-Clause
Opens a new window with license information.
README
¶
GO CATALOG SERVICE
The Catalog of Products
In this gRPC micro service you can see basic features and patterns in Go:
- Hexagonal Architecture
- Read Model
- SOLID
- Application Service tests
- Integration Tests
- Repository Pattern
Bounded Contexts
┌───────────────────┐ ┌───────────────────┐
│ Catalog │ │ Pricing │
└───────────────────┘ └───────────────────┘
How can I use it?
Prerequisites
Installing
Download repository
git clone https://github.com/amelendres/go-catalog.git
Build container
make build
Run tests
Run the tests
make test
Try it!
The shopping cart is running on http://localhost:8050
List Products
curl --location --request GET 'http://localhost:8050/products' \
--header 'Content-Type: application/json'
TODO
- VO validations
- Separate pricing domain
- Add rdbms
Authors
license
Directories
¶
Click to show internal directories.
Click to hide internal directories.