The data model
In this section, we will guide you through a straightforward database model for your dapp.
Our dapp's database model features three main tables:
- Users: This table stores user identities.
- Posts: This table manages posts, including their content, the user who created each post, and the timestamps of creation.
- Followers: This table represents the connections between users, specifically their followers.
You can visualize this model as follows: