A REST API in under 5 minutes with Presidebest practices *box cfml tools
In this talk I’ll demonstrate how, with just a few lines of code, you can expose your Preside data layer to the world via a REST API with the following features out of the box:
- basic authentication
- automatic Swagger documentation
- data queues for users to subscribe to data changes
I’ll then show you what you can do to customise the structure of your API and the methods allowed on each object; make use of the built-in event listeners; and even create multiple, independent APIs against the same data model.