ptrkrlsrd / joff

Create a mock server from an external endpoint or a JSON file (Basically a rewrite of my Traverser tool)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joff

Rust

Store JSON responses locally and serve them locally using Rocket

Since this project is using Rocket.rs, you'll have to use the nightly toolchain by running: rustup override set nightly.

Installation

  • Run:
    • rustup default nightly
    • cargo install joff

Usage

joff 1.0

USAGE:
    joff [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -b, --bucket-name <bucket-name>    Name of the KV bucket [default: json_data]
    -d, --data-path <data-path>        Path to the KV store [default: ./data]

SUBCOMMANDS:
    add      
    help     Prints this message or the help of the given subcommand(s)
    list     
    serve 

About

Create a mock server from an external endpoint or a JSON file (Basically a rewrite of my Traverser tool)

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%