Attempt to add basic tasklist
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m8s

This commit is contained in:
2024-03-12 22:44:24 -04:00
parent 6ff1a69e2b
commit 0986d04ea6
5 changed files with 95 additions and 94 deletions

View File

@@ -16,8 +16,12 @@ const client = new Client();
client
.setEndpoint(process.env.APPWRITE_API_ENDPOINT)
.setProject(process.env.APPWRITE_API_PROJECT);
//TODO
const appDatabaseId = '';
//TODO move this to config file
const AppwriteIds = {
databaseId: '65ee1cbf9c2493faf15f',
collectionIdTask: '65ee1cd5b550023fae4f',
};
const account = new Account(client);
const databases = new Databases(client);
@@ -86,4 +90,4 @@ function login(email: string, password: string) {
});
});
}
export { client, account, databases, ID, appDatabaseId, login, logout };
export { client, account, databases, ID, AppwriteIds, login, logout };