Overview
The Timeback SDK provides a SolidStart adapter using middleware.Installation
Server Setup
Create a Timeback instance:src/lib/timeback.ts
Middleware
Create middleware to handle Timeback routes:src/middleware.ts
Alternative: Route-Based Handler
For more control, you can use a route-based approach instead of middleware:src/routes/api/timeback/[...path].ts
Client Provider
Wrap your app with the TimebackProvider:src/app.tsx
Usage
Use primitives in components:src/components/UserStatus.tsx