In this entry I will go over how to leverage ColdBox's Modular architecture to RESTFul routing.
In ColdBox, every module's
ModuleConfig.cfc you create has two important facets for building RESTFul services: 1) The
this.entryPoint and the 2)
routes structure in the
If you are creating ColdBox applications using modules, then you will benefit with the capability to nest entry points so they can match to nested sub-modules. Let's say you have the following module structure:
+modules + api + security + data