sfsEdgeStore

Quick Start

Get sfsEdgeStore running in 5 minutes.

Prerequisites

Step 1: Get the Code

git clone https://github.com/liaoran123/sfsEdgeStore.git
cd sfsEdgeStore

Step 2: Build

go build -ldflags="-s -w" -o sfsedgestore .

Step 3: Run

./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

Step 4: Verify

# Health check
curl http://localhost:8081/health

# View metrics
curl http://localhost:8081/metrics

Step 5: Query Data

# Query all readings
curl http://localhost:8081/api/readings

# Query by device
curl "http://localhost:8081/api/readings?deviceName=Device001&limit=10"

Next Steps