Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Client, Account } from "appwrite";
- export const client = new Client();
- client
- .setEndpoint(process.env.NEXT_PUBLIC_APPWRITE_ENDPOINT)
- .setProject(process.env.NEXT_PUBLIC_APPWRITE_PROJECT_ID);
- export const account = new Account(client);
- export { ID } from "appwrite";
- export { OAuthProvider } from "appwrite";
Advertisement
Add Comment
Please, Sign In to add comment