ngrok is a great tool that allows you to expose your local server to the public internet.
json-server is a great tool that lets you quickly prototype a REST API from a JSON file.
[jsongrok-server] is a mediocre tool that combines the power of those two tools and lets you quickly expose your local json server with one easy command!
It's recommended to install jsongrok-server globally:
npm install -g jsongrok-serverYou can use jsongrok-server to create a server from .json file on your
machine:
jsongrok-server db.jsonYou can also use jsongrok-server to create a server from a .json file
by providing a URL:
jsongrok-server https://raw.githubusercontent.com/ihollander/jsongrok-server/master/db.json