ironfish / lagom-product

Lagom product app that implements CQRS/ES and Kafka support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAGOM-PRODUCT

Build Status

Example Product that supports the following construct.

public interface ProductEvent {

    String getId();
    String getName();
    String getCost();
    String getRating();
}

Usage

Get Example

curl http://localhost:9000/api/products/product/1234

Post Example

curl -H "Content-Type: application/json" -X POST -d '{"name": "Socks", "cost": "13.00", "rating": "10"}' http://localhost:9000/api/products/1234

About

Lagom product app that implements CQRS/ES and Kafka support

License:Apache License 2.0


Languages

Language:Java 100.0%