Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 779 Bytes

File metadata and controls

29 lines (18 loc) · 779 Bytes

Shopify Node middleware

This backend Node application is used as a middleware to enables a frontend apps to interact with Shopify's admin API.

It uses JWT token and CORS for security.

You fist query for a JWT token using the Shopify customer's ID, and you get an JWR token valid for 1h to use in your frontend app. Then you can make queries to interact withe the Shopify admin API.

App scopes

Currently, this app only enables writing to a customer's metafields/metaobject

Current endpoints

/token POST Public endpoint to retrive a JWT token valid for an hour. You must POST the customerID. Use this token to make calls to other prive endpoints

Install

Requirements

Node version 20

git clone [git URL] cd [folder] npm install cp .env.exemple .env