It’s been several years since I worked full time on a javascript project and a lot has improved in that time. This post will document my journey and will hopefully contain some best practice suggestions.
Continue readingTag: javascript
Cross-origin requests with beakr
beakr is a lightweight and flexible web framework that allows you to incorporate R code as the Middleware responsible for handling web requests. At Mazama Science, we developed beakr to simplify the process of creating R-based web services that we use to deliver a variety of products: data files, images, rendered Rmarkdown documents, etc.
In this article, we discuss using beakr to set a CORS header and create an example beakr instance that can respond to cross-origin javascript requests.
Continue reading