Can't admin user, project and api key programmatically while configuring a test env for E2E test
- 0
- Self Hosted
- General
- Web
- REST API
Hi there, I’ve been trying to setup a test environment for my project to support tests at all levels of the test pyramid including unit, integration and end to end tests. After doing some research I have to spin up a local appwrite instance for my tests. I’ve managed to spin up the local instance. However, I’m having some concerns with how the setup and teardown of the testing environment. There is no way for me to create an admin user, organisation, project and project api key (with scopes) so that I can the server sdk except through the console ( user interface ). Therefore, I’d like to inquire whether there’s any way to automate this because it would be handy during setup and teardown of my test environment. If that cannot work, I’d like an alternative approach. I've done some research about the console SDK but unfortunately it isn't available for appwrite
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...