Tag Archives: ChicagoBoss

Creating a RESTful Service in Chicago Boss

Here’s an end-to-end REST implementation in Chicago Boss. Not sure has anyone a nice concise guide out there so hope this is useful. Overview A very simple model (Book[title, author, insertTimestamp, updateTimestamp]) CRUD implementation where             Create is a POST request             Read is a […]

ChicagoBoss – The requested template (“src/view/blaindex.{dtl,html,txt,js,jade,eex}”) was not found. Additionally, no handler was found for processing 404 errors. You probably want to modify bla.routes to prevent errors like this one.

I wasted a lot of time with the above exception. Editing the routes file to no avail. The problem here is most likely with the controller. The problem in my case was that IntelliJ added below by default %% API -export([]). where it should have been %% API -compile(export_all). Simple one, but wasted a lot […]

ChicagoBoss Project Structure

ChicagoBoss is really neat. One thing I’m swinging toward though in relation to project layout is to keep the ChicagoBoss-<Version#> at the dir structure. A lot of the tutorials talk about renaming to ‘ChicagoBoss’. I’d see the benefits of keeping the version number as follows: Easier to upgrade Easier to test with different versions (including […]