/shopify-app-js

Primary LanguageTypeScriptMIT LicenseMIT

@shopify/shopify-app-js

This repo is a collection of packages that make it easy for apps to integrate with Shopify. They all build on top of the @shopify/shopify-api package to cover specific use cases.

This mono-repo supports the following packages:

App middleware

  • Provides functions to allow Remix apps to communicate and authenticate requests from Shopify.
  • Creates a middleware layer that allows Express.js apps to communicate with and authenticate requests from Shopify.

Session storage options

  • Provides an implementation of SessionStorage that uses Prisma.
  • Provides a simplified memory-based implementation of SessionStorage for development.
  • Provides an implementation of SessionStorage that uses SQLite.
  • Provides an implementation of SessionStorage that uses MongoDB.
  • Provides an implementation of SessionStorage that uses MySQL.
  • Provides an implementation of SessionStorage that uses PostgreSQL.
  • Provides an implementation of SessionStorage that uses Redis.

Building a Session Storage Adaptor

  • Provides an interface that enables apps to store the sessions created during the OAuth process in @shopify/shopify-api.

  • You can assign any implementation of this interface to the Middleware layer packages. You can also call them directly from your app even if you're not building with Express.js.

Community contributed implementations of SessionStorage

  • Provides an implementation of SessionStorage that uses AWS DynamoDB. Contributed by Chris - thank you 👏