Auto-indexing service and GraphQL API for AT Protocol Records
at main 40 lines 1.7 kB view raw view rendered
1# Quickslice 2 3> **Warning** 4> This project is in early development. APIs may change without notice. 5 6Quickslice is a quick way to spin up an [AppView](https://atproto.com/guides/glossary#app-view) for AT Protocol applications. Import your Lexicon schemas and you get a GraphQL API with OAuth authentication, real-time sync from the network, and joins across record types without setting up a database or writing any backend code. 7 8## The Problem 9 10Building an AppView from scratch means writing a lot of infrastructure code: 11 12- Jetstream connection and event handling 13- Record ingestion and validation 14- Database schema design and normalization 15- XRPC API endpoints for querying and writing data 16- OAuth session management and PDS writes 17- Efficient batching when resolving related records 18 19This adds up before you write any application logic. 20 21## What Quickslice Does 22 23Quickslice handles all of that automatically: 24 25- **Connects to Jetstream** and tracks the record types defined in your Lexicons 26- **Indexes** relevant records into a database (SQLite or Postgres) 27- **Generates GraphQL** queries, mutations, and subscriptions from your Lexicon definitions 28- **Handles OAuth** and writes records back to the user's PDS 29- **Enables joins** by DID, URI, or strong reference, so you can query a status and its author's profile in one request 30 31## When to Use It 32 33- You want to skip the AppView boilerplate 34- You want to prototype Lexicon data structures quickly 35- You want OAuth handled for you 36- You want to ship your AppView already 37 38## Next Steps 39 40[Build Statusphere with Quickslice](tutorial.md): A hands-on tutorial showing what Quickslice handles for you