Choose your setup
| Approach | When to use |
|---|---|
| API only | You just want to call endpoints. Use the hosted backend. |
| Frontend only | You want to run the web app locally against the hosted API. |
| Full stack | You want everything running on your machine. |
Prerequisites
- Rust 1.88+ (for backend)
- Node.js 18+ (for frontend)
- Docker (optional, for containerized backend)
Backend setup
http://localhost:3001.
Using Docker
Frontend setup
http://localhost:5173 and connects to the configured backend URL.
CLI usage
Thespecter-cli binary supports standalone operations:
Environment variables
| Variable | Required | Description |
|---|---|---|
REGISTRY_BACKEND | No | memory (default) or turso |
TURSO_DATABASE_URL | For turso | libSQL connection string |
TURSO_AUTH_TOKEN | For turso | Auth token |
PINATA_JWT | For IPFS | Pinata upload credentials |
PINATA_GATEWAY_URL | For IPFS | Your Pinata gateway |
PINATA_GATEWAY_TOKEN | For IPFS | Gateway access token |
ETH_RPC_URL | For ENS | Ethereum RPC endpoint |
SUI_RPC_URL | For SuiNS | Sui RPC endpoint |
API_KEY | No | Enables auth for write endpoints |
ALLOWED_ORIGINS | No | CORS origins (default: *) |
RATE_LIMIT_RPS | No | Requests per second (default: 10) |
Verify it’s working
http://localhost:3001 instead of the hosted backend.