title: Can you deploy a fake backend run by json-server NPM module using Heroku?
body: <p>I often use the npm module <code>json-server</code> to generate a fake JSON api given a <code>db.json</code> file. Is there any way to deploy that to Heroku? Essentially, I just run</p>
  
  <pre><code>json-server --watch db.json
  </code></pre>
  
  <p>And it runs a server that also servers static html if there are any in the <code>public/</code> directory. Essentially, I think it is just running a Node server, except I tried pushing to Heroku, but it did not work. Is there a special procedure I should do in order to make Heroku run that <code>json-server</code> module as my server?</p>