OCAPI-Proxy v2.1.4
npmjs.com/package/ocapi-proxy github.com/johnfacey/ocapi-proxy
Description:
This project serves as a Node.js based proxy server that will forward requests to an Salesforce Commerce Cloud OCAPI instance. This can be used for purposes such as testing 3rd party apps using OCAPI as well as integration for mobile/browser apps.
Feel free to use this as a middleware solution or build your own middleware on top of it for your needs.
Purpose:
I have worked on many OCAPI projects and learned that this was a great way to test OCAPI calls as well a way to do more Node.js integrations with the Salesforce Platform.
Base Features include:
Proxying calls to an SFCC interface. Auto generation of default config file on installation. Configuration of Proxy(8080) and UI(80) ports default. Universal Google Analytics tagging by config.json. Extensive logging. Sample Postman Suite included. NPM deployable.
npmjs.com/package/ocapi-proxy github.com/johnfacey/ocapi-proxy