source(file.path(usethis::proj_get(), "vignettes",  "_common.R"))
file_fs <- system.file("inst", "configurations", "fs.yml", package = "microservices", mustWork = TRUE)
info <- config::get("use_plumber_microservice", file=file_fs)
microservice <- list(files = info$files, dependencies = as.data.frame(info$dependencies))

How It Works

Given a path to a folder

When use_microservice(path = ".") is called

Then the function creates the following files:


And updates the following files:


And adds the following packages to the DESCRIPTION file:

kable(microservice$dependencies)

When to Use plumber

plumber Advantages

plumber Disadvantages

Workflow




harell/microservices documentation built on March 2, 2021, 3:15 a.m.