ambiorix
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
- druid Logger
- alesia Minifier
- eburones Sessions
- agris Security
- scilis Cookies
- titan Prometheus metrics
- surf CSRF protection
- signaculum favicon
- pugger Pug engine
- jader Jade engine
Tools & Extensions
- belgic Load balancer
- packer JavaScript
- CLI for generator
- Generator Project generator
- Docker Docker image
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("devOpifex/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.