DEV Community

Cover image for #30DaysOfAppwrite : Appwrite Dashboard
Christy Jacob for Appwrite

Posted on • Updated on

#30DaysOfAppwrite : Appwrite Dashboard

Intro

Appwrite is an open-source, self-hosted Backend-as-a-Service that makes app development easier with a suite of SDKs and APIs to accelerate app development. #30DaysOfAppwrite is a month-long event focused on giving developers a walkthrough of all of Appwrite's features, starting from the basics to more advanced features like cloud functions! Alongside we will also be building a full-featured Medium clone to demonstrate how these concepts can be applied when building a real-world app. We also have some exciting prizes for developers who follow along with us!

Appwrite Dashboard

Welcome to Day 4 ๐Ÿ‘‹. It's time to finally take a look at Appwrite's shiny dashboard and look at all of Appwrite's features. This will only be a high-level overview as we will be going through each section in detail in our later tutorials.

Welcome

After logging into your Appwrite console, you will be greeted with a getting started page. This is where you can create your first project.

Create Project UI

Once you create a new project or select a project, you will be taken to the project home page ๐Ÿ˜Š.

Home

On the home page, you will be greeted with some pretty graphs that highlight your project's usage stats. Here you can find the total number of requests that Appwrite has handled, the total bandwidth consumed, the total number of documents in your collections, the total number of users in your project, and more.

Appwrite Dashboard

Below this you will find the Platforms section. This is where you can add a Web or Flutter project to Appwrite ( Stay tuned for more platforms coming soon ๐Ÿคฉ ). Adding a Platform is important because it tells Appwrite about trusted domains and restricts requests coming in from domains that are not listed here. This also fixes those nasty CORS issues ๐Ÿ˜.

Let's start with the first item on the sidebar, Database.

Database

The database section allows you to view, create, and edit your collections. It also allows you to view all the documents in your project. The main screen is where you can create your collection.

Database UI

Once you create a collection, you can then click on it to configure it further.

Under the Documents tab, you will find the documents added to your collection.

Documents UI

Under the Attributes tab, you'll be able to define the structure of the data in your collection.

Attributes UI

Under the Indexes tab, you'll be able to define indexes that can be used to query your data.

Indexes UI

Under the Activities and Usage tab, you can find usage data about your collection.

Usage UI

Under the Settings tab, you will find the collection ID, options to change the collection name, change the read and write permissions for your collection, delete your collection and more.

Settings UI

We will cover these concepts in detail in the upcoming days. For now, you just need to know where to find them.

Storage

The second option in the sidebar is Storage. This is where you can manage all the files uploaded to your server. Like documents in a collection, your files are organized into groups using Buckets. You can create buckets using the Add Bucket button.

Bucket UI

You can upload files in the console using the Add File button at the bottom left. You can of course upload files using any of our SDKs or our CLI.

File UI

Once you are done uploading your file, you can always update its permissions or delete it.

Update File UI

Users

This is the third section in the sidebar and where you manage all your projects' users. You can use this section to create, delete or even block certain users.

Users UI

Teams tab allows you to create and manage your Teams.

Teams UI

Settings tab allows you to enable and disable auth methods and OAuth providers. We have a total of 28 different OAuth providers(!), most of which are contributed by the community. So, if there is still a provider that we are missing, feel free to take a look at how you can help add a new OAuth Provider.

User Settings UI

Functions

The fourth option on the sidebar is Functions - one of Appwrite's most powerful features! As the name suggests, Functions allow you and your users to execute serverless functions. As of writing this tutorial, we support 13 different environments for languages, including Node, PHP, Python, Ruby, Deno, Dart, and .NET. You can find more information about Functions here

Cloud Functions UI

Once you create a function, you can deploy new versions of your function by creating a new tag. Each tag gets its own ID and exclusive container for executing its code. This can be done using the UI or the CLI.

Under the Monitors section, you will find visualizations that highlight executions, CPU utilisation and failures.

Under the Logs section, you will find execution logs for each execution of the function.

Finally, under the Settings section, you can set permissions for executing your function or set up CRON schedules for triggering the function. You can also set up listeners to execute functions triggered by system events. System Events are emitted when certain actions take place on the server, like the creation of a user, creation of a collection, document, etc., which can be used to trigger your cloud function. An example use-case: you would like to send a welcome email when a user signs up with your app. We have covered this use case in-depth and more, over at dev.to.
Finally, in the Settings section of your Cloud Function, you can also add environment variables that this function may require. This could include API keys for third-party APIs that you may be using.

Functions UI

Webhooks

The next item on our list is Webhooks. Webhooks allow you to hit 3rd party endpoints when server events take place inside Appwrite. They are similar to tasks in that they can be used to hit external HTTP endpoints, but they are triggered differently from tasks (which use a CRON schedule).

Webhooks UI

API Keys

The next section on our list is API Keys. API Keys are required to interact with Appwrite from a Server SDK. Each API key is scoped to restrict access to only the selected features and prevent misuse. To create an API Key, simply select Add API Key, select the required scopes, give your key a name and click Create. You can now use this API key in your Server Side Integration.

API Keys

Settings

The Settings tab is where you will find the options to manage your project. You will find options to invite members to your project, set up custom domains, change the project name, delete the project etc.

Oh, and I almost forgot. Here's a fun little treat for your eyes ๐Ÿ‘€.

Enable Dark Mode Toggle

Flip this switch and enter the dark side!

Dark Mode Enabled

Credits

We hope you liked this write-up. You can follow #30DaysOfAppwrite on Social Media to keep up with all of our posts. The complete event timeline can be found here

Feel free to reach out to us on Discord if you would like to learn more about Appwrite, Aliens or Unicorns ๐Ÿฆ„. Stay tuned for tomorrow's article! Until then ๐Ÿ‘‹

Discussion (4)

Collapse
king11 profile image
Lakshya Singh

๐ŸŒŸ great article. Just a request can this be changed into a series of blogs so can be tracked easily ๐Ÿ˜ฌ

Collapse
christyjacob4 profile image
Christy Jacob Author • Edited on

Hey Lakshya, Thanks for the feedback โค๏ธ ! We did try this out but we faced some challenges. Apparently a series can be created only by a user and not an organisation. Since a different team member from appwrite posts the articles each day, we would end up with multiple series ๐Ÿ˜… .
Correct me if I'm wrong about the series creation part
However, we do have a way for you to track the articles in order here 30days.appwrite.io/

Collapse
king11 profile image
Lakshya Singh

Thanks @christyjacob4 totally understood the part I will track them on site then ๐Ÿ˜„

Collapse
chhinsras profile image
Chhin Sras

Just quick quesiton. very promising.

Am I able to build CRM system or M&E system which requires alot of conditions and queries like SQL with appwrite?

Lets say I am using Angular and .NET currently.