Skip to content
/ joff Public

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

License

Notifications You must be signed in to change notification settings

ptrkrlsrd/joff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Topics

Resources

License

Stars

Watchers

Forks

Languages