To get the code working on your machines locally, make sure you have Node-Js and all the included modules installed in your system. Modules for example- express, body-parser, stripe etc.
This includes the routes for create, retrieve, update, capture and traverse the charges using Stripe Api.
All the routes will provide respective json response.