iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
👏

[OSS] Discovering AppWrite: A BaaS Alternative to Firebase

に公開
2023/07/23

Introduction

  • I wrote this because I want to boost the excitement around AppWrite
    • Information about AppWrite is still scarce both in Japan and globally, so I want to introduce it to many people through this article

*Note: This article contains subjective content
*Note: Some parts may not be entirely accurate

What is AppWrite?

  • A BaaS that is like an open-source version of Firebase
    • Supports self-hosting
      • Docker
    • Features are almost the same as Firebase
      • Database
        • NoSQL
      • Authentication
      • Storage
      • Functions
      • Security & Privacy
      • Realtime

https://appwrite.io/

What’s Good About AppWrite and Why I Like It

Supports Self-hosting

  • You can self-host it on a VPS or similar using Docker
  • While Firebase charges based on API calls and usage, if you host it yourself, you don't need to worry about the number of calls or fees.

OSS

  • Active community
    • You get quick responses when you ask questions on Discord
    • I'm happy with the lively interaction (since some communities might just ignore you)

https://discord.com/invite/GSeTUeA
https://github.com/appwrite/appwrite

Extensive Authentication

Easy Authentication

import { Client, Account, ID } from "appwrite";

const client = new Client()
    .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
    .setProject('[PROJECT_ID]');               // Your project ID

const account = new Account(client);

const promise = account.create(
    ID.unique(),
    'team@appwrite.io',
    'password'
);

promise.then(function (response) {
    console.log(response);
}, function (error) {
    console.log(error);
});

https://appwrite.io/docs/authentication

User-friendly GUI

Cloud (Beta) Recently Released

https://cloud.appwrite.io/

Good Performance (Benchmarks)

https://dev.to/appwrite/appwrite-012-database-improvements-3kmh
https://realtime-1-million-auig4.ondigitalocean.app/

Summary

  • An OSS project that can serve as a Firebase alternative
  • The downside is that information is still limited
  • Let's try AppWrite!
    • I've compiled videos for learning AppWrite

https://zenn.dev/teba_eleven/scraps/b9fba7a6b63a24

Discussion