Lesson 1 - Design database and write queries
In this lesson, you'll construct a data model for our decentralized app (dapp), focusing on Users, Posts, and Followers. You'll learn how to implement this model in Chromia's programming language, Rell, using entity attributes, mutability, efficient indexing, and unique constraints. By the conclusion of the first section, you'll have a data model for your dapp.
The second section will teach you about data manipulation on the Chromia blockchain platform. You'll learn to write operations for creating users, posting content, and navigating follower relationships, all illustrated with Rell code examples. Additionally, we'll introduce testing methodologies to maintain your dapp's integrity.
The third and final section will focus on retrieving data with queries. Beginning with simple queries for user information and follower statistics, you'll gradually tackle more complex queries with pagination and sorting. Finally, you'll learn to test your queries manually using the Chromia CLI.