ktongue's picture
download
raw
633 Bytes
import { Client, Databases, Query } from 'https://cdn.jsdelivr.net/npm/appwrite@14.0.1/+esm';
const client = new Client()
.setEndpoint(import.meta.env.VITE_APPWRITE_ENDPOINT)
.setProject(import.meta.env.VITE_APPWRITE_PROJECT_ID);
const databases = new Databases(client);
export { client, databases, Query };
export const CONFIG = {
databaseId: import.meta.env.VITE_APPWRITE_DATABASE_ID,
modulesCollectionId: import.meta.env.VITE_APPWRITE_MODULES_COLLECTION_ID,
sectionsCollectionId: import.meta.env.VITE_APPWRITE_SECTIONS_COLLECTION_ID,
resourcesCollectionId: import.meta.env.VITE_APPWRITE_RESOURCES_COLLECTION_ID,
};

Xet Storage Details

Size:
633 Bytes
·
Xet hash:
39aa535249f397b48c3cf620d1b174bf15efd0a7cdbb16fb53c11830f7f2b037

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.