Attempt to add basic tasklist
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m8s
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m8s
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user