- NodeJS >= v.4.x.x
- jQuery Pathner v.1.0.2
Link: https://secure-river-30341.herokuapp.com/
See https://github.com/semarketir/jquery-pathner for more details.
A simple Server side app to handle request for records or information from jquery-pathner, of course; you can use your favorite programming languages for server side.
$ npm install
$ npm run bower
Link: https://path.com/developers/app/new
Open server.js
file then change the values:
var CONFIG = {
...
auth: {
clientId: '<client-id>', // insert your client id in here
clientSecret: '<client-secret>' // insert your client secret in here
},
...
};
Open public/assets/js/script.js
file then change the values:
...
$('.path-share-button').pathPartner({
clientId: '<client-ide>', // insert your client id in here,
appname: '<your app name>', // insert your app name in here
...
$ npm start
Then visit http://localhost:5000