Autogenerating APIs from tables



The Profound API tool includes the ability to generate a complete set of API methods from scratch. With just a few clicks of the mouse, you can quickly auto-generate an API file, including documentation, with all of the standard CRUD operations for a database table. Simply follow these steps:

  1. Navigate to the Profound.js IDE.

  2. Change to the Database tab.

  3. Drill-down and right-click on the desired database table. Then select "Build API".



This will bring up the API Designer with the generated API file.  The API will not be published or callable until you save it.

In the API Designer, you will see that the generator created all of the business logic, parameters, and documentation for these commonly used CRUD functions:

  • Get List

  • Get One

  • Add One

  • Update One

  • Delete One