패키지, 저장소 및 앱 카테고리 검색

패키지 상세v31.2.0

dart_appwrite

Appwrite는 매우 간단한 REST API를 통해 복잡하고 반복적인 개발 작업을 추상화하고 단순화하는 오픈소스 자체 호스팅 백엔드 서버입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
2.2만
좋아요
104
Pub 점수
140

패키지 설치

flutter pub add dart_appwrite

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

dart_appwrite 패키지는 오픈소스 백엔드 서버인 Appwrite와 원활한 통합을 제공하는 Dart SDK입니다. 인프라 구조를 관리하지 않고도 인증, 파일 저장, 데이터베이스 등을 처리할 수 있도록 깔끔하고 직관적인 API를 제공하여 백엔드 개발을 간소화합니다. 크로스플랫폼 앱을 위한 설계로 Android, iOS, Web, macOS, Windows, Linux를 지원합니다. SDK는 복잡한 작업을 간단한 메서드로 추상화하여 다양한 플랫폼에서 빠른 개발을 가능하게 합니다.

사용 사례

  • 사용자 인증
  • 파일 저장소 관리
  • 실시간 데이터베이스 작업
  • 크로스 플랫폼 앱 백엔드
  • 서버리스 함수 통합
  • 푸시 알림

주요 기능

  • 간단한 REST API 래퍼
  • 다중 플랫폼 지원
  • 내장 인증 방법
  • 보안 파일 업로드 및 다운로드
  • 실시간 데이터 동기화
  • 자체 호스팅 또는 클라우드 Appwrite로 간편한 설정

적합한 대상

  • 풀스택 플러터 개발자
  • MVP를 구축하는 스타트업
  • 안전한 백엔드 서비스가 필요한 팀
  • 크로스플랫폼 모바일 및 웹 앱
  • 백엔드 복잡성 회피하는 개발자

고려 사항

  • Appwrite 인스턴스(자체 호스팅 또는 클라우드)가 필요합니다
  • 백엔드 호출을 위해 네트워크 연결이 필요합니다
  • 인증 토큰은 안전하게 관리되어야 합니다
  • Appwrite의 기능 세트에 제한됨
  • Appwrite 서버 가용성에 따라 다릅니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Appwrite Dart SDK

pub package License Version Build Status Twitter Account Discord

This SDK targets Appwrite server version 1.9.x as shipped on Appwrite Cloud. Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from previous releases when APIs differ.

This is the Dart SDK for integrating with Appwrite from your Dart server-side code. If you're looking for the Flutter SDK you should check appwrite/sdk-for-flutter

Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Dart SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs

Appwrite

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  dart_appwrite: ^29.0.0

You can install packages from the command line:

dart pub add dart_appwrite

Getting Started

Initialize & Make API Request

Once you add the dependencies, its extremely easy to get started with the SDK; All you need to do is import the package in your code, set your Appwrite credentials, and start making API calls. Below is a simple example:

Client client = Client()
  .setProject('<YOUR_PROJECT_ID>')
  .setKey('<YOUR_API_KEY>');

Users users = Users(client);

User user = await users.create(
  userId: ID.unique(),
  email: 'email@example.com',
  phone: '+123456789',
  password: 'password',
  name: 'Walter O'Brien'
);
Error handling

The Appwrite Dart SDK raises AppwriteException object with message, code and response properties. You can handle any errors by catching AppwriteException and present the message to the user or handle it yourself based on the provided error information. Below is an example.

try {
  User user = await users.create(...);
} on AppwriteException catch(e) {
  // Handle the error
}
Learn more

You can use the following resources to learn more and get help

Contribution

This library is auto-generated by Appwrite custom SDK Generator. To learn more about how you can help us improve this SDK, please check the contribution guide before sending a pull-request.

License

Please see the BSD-3-Clause license file for more information.

카테고리

의존성

의존성 목록 1 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.