Guest User

Untitled

a guest
Jan 5th, 2025
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import { Client, Account } from "appwrite";
  2.  
  3. export const client = new Client();
  4.  
  5. client
  6. .setEndpoint(process.env.NEXT_PUBLIC_APPWRITE_ENDPOINT)
  7. .setProject(process.env.NEXT_PUBLIC_APPWRITE_PROJECT_ID);
  8.  
  9. export const account = new Account(client);
  10. export { ID } from "appwrite";
  11. export { OAuthProvider } from "appwrite";
Advertisement
Add Comment
Please, Sign In to add comment