Appwrite playground is a simple way to explore the Appwrite API & Appwrite Node.js SDK. Use the source code of this repository to learn how to use the different Appwrite Node.js SDK features.
Work in progress
This playground doesn't include any NodeJS best practices but rather intended to show some of the most simple examples and use cases of using the Appwrite API in your NodeJS application.
- A system with NodeJS installed.
- You have readily available AppWrite running instance (localhost in most cases).
- Create a project in AppWrite instance using console.
- Generate a secret key in the AppWrite instance using console.
- Clone this repository.
- cd into to repository.
- Open the app.js file found in the root of the cloned repository.
- Copy the project_id, endpoint, secret key from your Appwrite Console.
- Update project_id, endpoint, secret key by copied from the console in app.js file where stated.
- Install dependencies using either NPM (
npm install
) or Yarn (yarn install
) - Execute the command
node app.js
- You will see the JSON response in the console.
- Create Collection
- List Collection
- Add Document
- List Documents
- Upload File
- Create User
- List User
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.
For security issues, kindly email us [email protected] instead of posting a public issue in GitHub.
Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server Discord community for more help, ideas and discussions.