Skip to content

Simple examples that help you get started with Appwrite + Dart (=❤️) as an Appwrite server-side integration.

License

Notifications You must be signed in to change notification settings

appwrite/playground-for-dart

Repository files navigation

Playground for Dart

Simple examples that help you get started with Appwrite + Dart (=❤️)

This is Appwrite server side integration with Dart. For Flutter integration please look at our Flutter playground and Flutter SDK

Work in progress

Appwrite playground is a simple way to explore the Appwrite API and Appwrite Dart SDK. Use the source code of this page to learn how to use different Appwrite Dart SDK features.

Get Started

This playground doesn't include any dart best practices, but rather intended to show some of the most simple examples and use cases of using the Appwrite API in your dart application.

System Requirements

  • A Linux/Windows/Mac system with Dart or Flutter 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

Installation

  1. Clone this repository
  2. cd into the repository
  3. Open main.dart file found in the root of the cloned repository
  4. Copy the project_id, endpoint, secret key from the Appwrite Console
  5. Update project_id, endpoint, secret key by copying from the console in the main.dart file
  6. Execute the command dart run main.dart
  7. You will see the JSON response in the console

API Covered in Playground.

  • Create Collection
  • List Collection
  • Add Document
  • List Documents
  • Upload File
  • Create User
  • List User

Contributing

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.

Security

For security issues, kindly email us security@appwrite.io instead of posting a public issue in GitHub.

Follow Us

Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server for more help, ideas and discussions.

About

Simple examples that help you get started with Appwrite + Dart (=❤️) as an Appwrite server-side integration.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages