Skip to content

SomnathChW/Google-Auth-Appwrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up the Project for Your Appwrite Project

Follow these steps to set up and run the project with your Appwrite project.


Step 1: Clone the Repository

Clone the repository to your local machine using the following command:

git clone <repository-url>
cd <project-directory>

Step 2: Install Dependencies

You can install dependencies using either npm or pnpm.

Option 1: Using npm

npm install

Option 2: Using pnpm

The project includes a pnpm-lock.yaml & .npmrc file located in the pnpm-files folder. To use pnpm:

  1. Copy the pnpm-lock.yaml and .npmrc files to the root of the project.
  2. Delete package-lock.json (if it exists).
  3. Run the following command:
pnpm install

Step 3: Configure Appwrite

Modify 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>"
}

Step 4: Run the Project

To run the project, use the following command:

npm run android  # For Android

Note: The project has not been tested on iOS, Web or Expo Go

About

Implementation of Google Authentication using Expo Router and Appwrite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published