Modeling the Data Structure

One of the first steps of creating an app is to define the data model.

We recommend you to start with an entity-relationship diagram, considering all the information you will need to store in your app.

For example, let’s think on a Procurement app. You can come out with a diagram like this:

Purchase Request Diagram

You can implement the relationships among the tables:

  • items would be a table field in the purchaseRequest table.

  • product would be a relationship field in the items table.

  • quotes would be a table field in the purchaseRequest table.

  • selectedQuote would be a relationship field in the purchaseRequest table.

  • vendor would be a relationship field in the quotes table.

After implementing the tables for storing the data, the next step would be:

  • define the processes to implement.

  • define the main table for each one of your processes.

This is covered in the process modeling documentation.