@ordergroove/smi-serve
Utility to serve a SMI template locally
Usage
Run the following command on the template root path and browse (http://localhost:8000)[http://localhost:8000]
npx @ordergroove/smi-serve
Template structure
A smi template is at least a main.liquid
file located in similar project structure as follow
./views/main.liquid
./scripts/script.js
./locales/en-US.json
./styles/main.less
HMAC Auth
By default this utility will use TestCust in HMAC merchant to query the api. This option can be easily overriden via query string parameters
http://localhost:8000/?auth=customer|ts|sig&merchant_id=some-merchant