Shopify Express

screenshot of Shopify Express
express
shopify

“Get up and running quickly with Express.js and the Shopify API.”

Overview:

This project, Shopify Express, has been deprecated by Shopify, and the company will no longer be maintaining it. They suggest exploring their other libraries such as @shopify/koa-shopify-auth, @shopify/koa-shopify-graphql-proxy, and shopify_app if you are interested in building a Shopify app using first-party tools.

Features:

  • Shopify routes: Provides mountable routes for authentication and API proxying. Handles shop session storage.
  • /auth/shopify: Serves a login endpoint for merchants to access your app with a shop session.
  • /api: Proxies requests to the API for the currently logged-in shop. Helps securely use API endpoints from a client application without CORS concerns.
  • Shop Store: Configurable shopStore key to define a strategy for storing persistent data for user sessions. Comes with default strategies like Memory, Redis, and SQL.

Summary:

Shopify Express is a deprecated project by Shopify for building Express.js apps that consume the Shopify API. It provides features like mountable routes for authentication and API proxying, shop session storage, and customizable strategies for storing persistent data. While Shopify will not be maintaining this project, developers can still fork the codebase and continue using it if desired.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

shopify
Shopify

Shopify offers headless commerce capabilities through its Storefront API, allowing developers to use their own front-end technology to create custom storefronts or sales channels while using Shopify as a back-end system