FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Preside Extension: REST API Endpoint Scaffolding

v1.0.2 Public

Preside Extension: REST API Endpoint Scaffolding

This is an extension for Preside that adds scaffolding capabilities. For details on the REST framework implementation see here: Preside REST Framework Documentation

Usage

Access the developer terminal in the Preside admin. Then use the command

new restendpoint

and follow the wizard.

This should by default only work on a local machine.

Installation

Install the extension to your application via either of the methods detailed below (Git submodule / CommandBox) and then enable the extension by opening up the Preside developer console and entering:

extension enable preside-ext-rest-scaffold
reload all

Git Submodule method

From the root of your application, type the following command:

git submodule add https://bitbucket.org/hwsdev/preside-ext-rest-scaffold.git application/extensions/preside-ext-rest-scaffold

CommandBox (box.json) method

From the root of your application, type the following command:

box install preside-ext-rest-scaffold

Open tasks and ideas for the future

  • support to generate endpoint verbs for write actions (PATCH/PUT, POST, DELETE)
  • support for detailed response models (swagger annotations)
  • scaffolding of page types

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.0.2 Oct 18 2016 11:09 AM Oct 18 2016 11:09 AM
Version History
1.0.1 Oct 12 2016 09:28 AM Oct 12 2016 09:28 AM
1.0.0 Oct 11 2016 02:10 PM Oct 11 2016 02:10 PM

 

No collaborators yet.
     
  • Oct 11 2016 02:10 PM
  • Oct 18 2016 11:09 AM
  • 700
  • 855
  • 379