Follow these steps to set up and run the project with your Appwrite project.
Clone the repository to your local machine using the following command:
git clone <repository-url>
cd <project-directory>You can install dependencies using either npm or pnpm.
npm installThe project includes a pnpm-lock.yaml & .npmrc file located in the pnpm-files folder. To use pnpm:
- Copy the
pnpm-lock.yamland.npmrcfiles to the root of the project. - Delete
package-lock.json(if it exists). - Run the following command:
pnpm installModify the lib/appwrite.tsx file with your Appwrite configuration:
const appwrite_endpoint = "<your-appwrite-endpoint>";
const appwrite_project = "<your-appwrite-project>";
const appwrite_android_platform = "<your-android-platform>";Also modify the app.json file with your Appwrite configuration:
"android": {
"package": "<your-android-package>"
}To run the project, use the following command:
npm run android # For AndroidNote: The project has not been tested on iOS, Web or Expo Go