Get sfsEdgeStore running in 5 minutes.
git clone https://github.com/liaoran123/sfsEdgeStore.git
cd sfsEdgeStore
go build -ldflags="-s -w" -o sfsedgestore .
./sfsedgestore
sfsEdgeStore uses intelligent defaults. No configuration required to get started:
| Setting | Default Value |
|---|---|
| MQTT Broker | tcp://localhost:1883 |
| MQTT Topic | edgex/events/# |
| HTTP Port | 8081 |
| Database Path | data/sfs.db |
# Health check
curl http://localhost:8081/health
# View metrics
curl http://localhost:8081/metrics
# Query all readings
curl http://localhost:8081/api/readings
# Query by device
curl "http://localhost:8081/api/readings?deviceName=Device001&limit=10"