Skip to content

Commit

Permalink
configure appwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
theomaro authored Jan 21, 2024
1 parent 4024ebd commit 0b80bbb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lib/appwrite.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Client, Account } from "appwrite";

export const client = new Client();

client
.setEndpoint("https://cloud.appwrite.io/v1")
.setProject("<Project ID>"); // Replace with your project ID

export const account = new Account(client);
export { ID } from "appwrite";

0 comments on commit 0b80bbb

Please sign in to comment.