When creating Shopify apps, you'll generate access tokens for the API to create new experiences for Shopify merchants, and you'll need to store those tokens to make your app as performant as possible.
These packages provide several database-specific implementations of the SessionStorage
interface, to make it easier to set up apps with your preferred stack.
Package | Latest version | Description |
---|---|---|
@shopify/shopify-app-session-storage |
Provides the interfaces used by the app middleware packages to write custom packages. | |
@shopify/shopify-app-session-storage-drizzle |
Drizzle implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-dynamodb |
DynamoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-kv |
Cloudflare KV implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-memory |
Memory implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mongodb |
MongoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mysql |
Mysql implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-postgresql |
PostgreSQL implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-prisma |
Prisma implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-redis |
Redis implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-sqlite |
SQLite implementation of the session storage interface. |