List All Documents from an Appwrite Database Collection

InstructorColby Fayock

Share this video with your friends

Send Tweet

In the last lesson, we set up our new database and now it’s time to read our Documents and list them out in our project. This is where we’ll start working with the Web SDK to programmatically request those event Documents and dynamically pull them into our application so that when someone adds a new one, our application will show it right away.

We’ll first start out by learning how to use the Databases service. Once that’s ready to go, we’ll use the List Documents endpoint configured to pull the data into our application from our previously created Database Collection. We’ll then define a new Type for our data to make sure we’re working with our event safely throughout the app.

What You’ll Learn

  • Configure the Databases service
  • List all Documents in a Database Collection
  • Define Types for our event data
  • Use environment variables to manage service IDs

Resources