Add Appwrite React starter as regular files

This commit is contained in:
KNSONWS
2026-02-03 19:44:28 +01:00
parent 8be94e4518
commit 2b39e0855f
16 changed files with 5618 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
import { Client, Account, Databases } from "appwrite";
const client = new Client()
.setEndpoint(import.meta.env.VITE_APPWRITE_ENDPOINT)
.setProject(import.meta.env.VITE_APPWRITE_PROJECT_ID);
const account = new Account(client);
const databases = new Databases(client);
export { client, account, databases };