When developing a web service with FL0, it's often necessary to create flows that create, read, update, and delete data from a database. In fact, that's what most of the database-specific documentation explains how to do.
But creating flows for these common operations can be tedious, which is why FL0 has a Create CRUD button that does most of the work for you. Specifically, this button creates HTTP Request flows that set up the basic CRUD operations for a database table.
This tutorial uses a to-do list management application as an example to demonstrate how to use the Create CRUD button.
- You have a FL0 account.
- You've read the previous tutorials in this series.
- Log in to FL0.
- Click Create a new project.
- In the Project Name field, enter a name for the project.
- Select a hosting region.
- Click Save.
- In the Explorer pane, click Create new.
- Select Table.
- Type Tasks.
- Tap the Return key.
- Switch to the Configuration tab.
- Create a row to store the name of the task.
- In the Name field, enter Name.
- From the Data type dropdown, select String.
- Create a row to store the status of the task.
- In the Name field, enter IsComplete.
- From the Data type dropdown, select Boolean.
- Enable the Nullable option.
- Click Save.
- Click Create CRUD.
- (Optional) From the Auth Policy dropdown, select an auth policy.
- In the Plural Entity Name, enter a pluralized name, such as "Tasks".
- In the Single Entity Name, enter a singular name, such as "Task".
- Click Create.
FL0 creates the following HTTP Request flows in the specified folder:
- Delete Task
- Get Task
- Get Tasks
- Insert Task
- Update Task
The names of these flows are based on the configured entity names.
Updated 8 months ago