The Profound API tool includes the ability to generate a complete set of API from scratch. With just a few clicks of the mouse, you can quickly auto-generate an API file with all of the standard CRUD operations for a database table. Simply follow these steps:
- Navigate to the Profound.js IDE.
- Change to the Database tab.
- Drill-down and right-click a desired database table. Then select "Build API File".
This will bring up the API Designer with the generated API file. The API will not be served 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