Skip to content

ambiorix-web/ambiorix

Repository files navigation

ambiorix

R-CMD-check Codecov test coverage

Website | CLI | Generator | Docker | Load Balancer

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("About page")
})

app$start()

Middlewares

Tools & Extensions

Install

The stable version is available on CRAN with:

install.packages("ambiorix")

You can also install the development version from Github:

# install.packages("ambiorix")
remotes::install_github("ambiorix-web/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.