edhrg

//POST /orders
//
// - [ ] Setup loadbalancer
// - [x] Config Kong gateway
OrderController.create(payload) {

// Create an immutable order
// 1. Validate payload
// 1. Log with x-correlationid
OrderService.create(payload) {
// | id | Prod_Name | Price | Inserted_At |
// |----|-----------|-------|-------------|
// |123 | book 1 | $10.00| 2020-06-30 |
OrderRepo.save()
}
}

hello