# README
ceDemo Service
This is the CE Demo service
Showcase
- Async service
Usage
Build the binary
make build TARGET=cedemo TYPE=service VERSION=v0.1.1
Run the service
make run-cedemo
# or
go run service/cedemo/main.go
Build a docker image
make docker TARGET=cedemo TYPE=service VERSION=v0.1.1
Test the service
curl -X POST \
-H "content-type: application/json" \
-H "ce-specversion: 1.0" \
-H "ce-source: curl-command" \
-H "ce-type: curl.demo" \
-H "ce-id: 123-abc" \
-d '{"name":"Sumo"}' \
http://localhost:8080
Reference
# Packages
No description provided by the author