🍺 Homebrew#
brew install tamada/tap/fauxrest📦 Build with Cargo#
- You should install Rust toolchain (
cargo).
cargo install fauxrest💪 Build From Source#
- You should install Rust toolchain (
cargo).
git clone https://github.com/username/fauxrest.git
cd fauxrest
cargo build --releaseThe binary is generated at target/release/fauxrest.
🐳 Docker#
Fauxrest can run on docker like container runner.
This example uses docker command, however, you can replace it to your favorit container runner such as podman, finch, apple/container, and/or WSL Container.
docker run -it --rm -v $PWD:/opt quay.io/tama5/fauxrest:latest dataQuick Start#
- Create a
datadirectory with JSON files. - Prepare a config file (for example
fauxrest.json) if you need explicit serializer/layout settings. - Build outputs:
fauxrest --config fauxrest.json data- Check generated files under the configured destination path.
Example Input#
{
"name": "Alice",
"role": "Developer"
}