ihollander/jsongrok-server

A tool to run json-server with ngrok

★ 1Forks 0JavaScriptGitHub ↗Compare

README

jsongrok-server

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!

Usage

It's recommended to install jsongrok-server globally:

npm install -g jsongrok-server

You can use jsongrok-server to create a server from .json file on your machine:

jsongrok-server db.json

You 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

Contributors

ihollander

Issues