5 Dashboard Tricks
I’ve been using the Dashboard a lot while developing my own apps, so I asked Arnold, the engineer behind the Dashboard, to put together some tips for using it effectively. I hope you find it as useful as I do!
Now that you’re familiar with Convex, I’d like to show you some of the tools you can use in the dashboard to level up your development productivity.
To iterate quickly, it’s nice to be able to isolate your code and test backend functionality on its own, without needing to integrate into the frontend. Good news — you can do this straight from the Convex dashboard’s Functions page. To get started, click the “Run function” button found near your function’s implementation. From there, you can subscribe to live query results and run one-off actions and mutations. If you’re running
npx convex dev in your code repo, any edits to the functions will sync automatically to your dev instance, so you can quickly edit and re-run your functions as you iterate.
Before you’ve gotten your functions fully wired up, you can use the dashboard to create tables and documents.
Got a heap of data to sift through in your tables? Dashboard filters have got you covered. Find this handy button on the Data page, and use it to narrow down the results shown to just the documents you’re looking for.
Did you know that in addition to documents, Convex allows you to store and retrieve files, such as images and videos? Well now ya do — you can upload files programmatically in your Convex functions, or upload individual files using the File storage tab on the Data page.
Since Convex queries are fully reactive, updating your data in the dashboard will inform all clients subscribed to the related data that their queries should be re-run. See this post on using Convex to implement a basic kill switch.
Convex is the backend application platform with everything you need to build your project. Cloud functions, a database, file storage, scheduling, search, and realtime updates fit together seamlessly.