Chromia
Start Building

05 / 27Module 1: A Rell backend with FT accountsBeginner

The data model

Here you will build a simple database model for your dapp.

The model is made up of three core tables:

  1. Users: Holds the identity of each user.
  2. Posts: Holds each post's content, the user who wrote it, and when it was created.
  3. Followers: Records the relationships between users, that is, who follows whom.

The diagram below shows how these tables relate:

Written for this site from Chromia’s public course. Code samples are the course’s own.