Using Appwrite’s database to persist data
Apart from authentication, another popular and common service required for applications is a database to store and share data. Appwrite provides a highly customizable database with a flexible permission system. In this section, we will learn how to use Appwrite’s database to build our Flutter Academy application. We will start by creating a collection where we will add courses and display those courses in our application. Let’s begin by setting up the course database.
Creating a Database and a collection
Appwrite’s database provides an interface similar to a over the relational database. We create collections and documents, where collections provide a structured interface to save data. So, we will start by creating a collection for our courses.
Collections can be set up either from Appwrite’s console or via Appwrite’s server-side SDKs. If you want to do it from the console, it’s simple...