Linemanjs using json for api stubbing

Handsontable JavaScript Spreadsheet Most popular component for web apps


So I was wondering if it is possible to have it return data from a json file instead of data specified in the server.js?

Short Answer is yes.

Justin suggested to use this line:

However, lineman/grunt doesn’t exist errors happen, even if you include them in the function params.

This workaround did the trick.

Where your json files are stored here: config/api/ allowing much more freedom to switch in and out data using JSON. Nice.

Sam Deering

Sam Deering

Sam is a web developer, online entrepreneur and investor. In his spare time he enjoys coding, playing chess and sharing what he learns with others.

Leave a Reply

Your email address will not be published. Required fields are marked *