/ambiorix

Web framework for R based on httpuv and inspired by express.

Primary LanguageRGNU General Public License v3.0GPL-3.0

ambiorix

Travis build status

Website | CLI | Docker

Web framework for R based on httpuv and inspired by express.js.

Example

library(ambiorix)

app <- Ambiorix$new()

app$get("/", function(req, res){
  res$send("Hello!")
})

app$get("/about", function(req, res){
  res$send("Hello!")
})

app$start()

Install

Ambiorix is an R package than can be installed from github.

# install.packages("ambiorix")
remotes::install_github("JohnCoene/ambiorix")

Contributing

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.