This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
secret: 'Your Client Secret', | |
responseType: 'json' | |
}); | |
router.get('/', (req, next) => { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
secret: 'your Client Secret', | |
responseType: 'json' | |
}); | |
router.get('/', (req, res, next) => { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
clientId: 'your Client Id from app registration', | |
secret: 'your Client Secret from app registration', | |
callback: 'https://your-ngrokURL/auth', | |
responseType: 'json' | |
}); |
NewerOlder