@shopify/shopify-app-session-storage-postgresql v4.0.18
Session Storage Adapter for PostgreSQL
This package implements the SessionStorage
interface that works with an instance of PostgreSQL.
Tested using PostgreSQL v15
import {shopifyApp} from '@shopify/shopify-app-express';
import {PostgreSQLSessionStorage} from '@shopify/shopify-app-session-storage-postgresql';
const shopify = shopifyApp({
sessionStorage: new PostgreSQLSessionStorage(
'postgres://username:password@host/database',
),
// ...
});
// OR
const shopify = shopifyApp({
sessionStorage: new PostgreSQLSessionStorage(
new URL('postgres://username:password@host/database'),
),
// ...
});
// OR
const shopify = shopifyApp({
sessionStorage: PostgreSQLSessionStorage.withCredentials(
'host.com',
'thedatabase',
'username',
'password',
),
// ...
});
If you prefer to use your own implementation of a session storage mechanism that is compatible with the @shopify/shopify-app-express
package, see the implementing session storage guide.
6 months ago
4 months ago
4 months ago
1 month ago
3 months ago
5 months ago
6 months ago
4 months ago
5 months ago
7 months ago
9 months ago
9 months ago
10 months ago
11 months ago
10 months ago
1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago