library(ambiorix)
app <- Ambiorix$new()
app$get("/", function(req, res){
res$send("Hello!")
})
app$get("/about", function(req, res){
res$send("About page")
})
app$start()
Ambiorix is an R package than can be installed from github.
# install.packages("ambiorix")
remotes::install_github("JohnCoene/ambiorix")
Please note that the ambiorix project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.