{"id":15136697,"url":"https://github.com/2002bishwajeet/rn-auth-ui","last_synced_at":"2025-10-23T11:31:46.862Z","repository":{"id":253508447,"uuid":"841139909","full_name":"2002Bishwajeet/rn-auth-ui","owner":"2002Bishwajeet","description":"Starter Auth Template powered by Appwrite 🚀","archived":false,"fork":false,"pushed_at":"2024-08-31T19:49:51.000Z","size":2974,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T12:55:50.165Z","etag":null,"topics":["appwrite","appwrite-auth","expo","expo-router","react-native","ui-design"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2002Bishwajeet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-11T18:52:42.000Z","updated_at":"2024-12-27T23:05:41.000Z","dependencies_parsed_at":"2024-09-26T06:50:50.934Z","dependency_job_id":null,"html_url":"https://github.com/2002Bishwajeet/rn-auth-ui","commit_stats":{"total_commits":68,"total_committers":2,"mean_commits":34.0,"dds":"0.014705882352941124","last_synced_commit":"375db698310df4f3706bf31af7e81e5308826a3d"},"previous_names":["2002bishwajeet/rn-auth-ui"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2002Bishwajeet%2Frn-auth-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2002Bishwajeet%2Frn-auth-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2002Bishwajeet%2Frn-auth-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2002Bishwajeet%2Frn-auth-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2002Bishwajeet","download_url":"https://codeload.github.com/2002Bishwajeet/rn-auth-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821629,"owners_count":19371796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appwrite","appwrite-auth","expo","expo-router","react-native","ui-design"],"created_at":"2024-09-26T06:40:41.947Z","updated_at":"2025-10-23T11:31:45.768Z","avatar_url":"https://github.com/2002Bishwajeet.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1280\" alt=\"Almost Reddit - 571x238\" src=\"/assets/images/header.png\"\u003e\n\n# React Native Auth UI\n\nA beautiful auth template starter app built with React Native, Expo and Appwrite.\n\n\u003e Check out the blog here: [How I built an auth template powered by react native](https://bishwajeet-parhi.medium.com/i-built-an-auth-template-powered-by-react-native-and-appwrite-4a0b7ee90ba6)\n\n## What is Appwrite\n\nAppwrite is an open-source backend server that helps you build modern apps faster. It is a secure end-to-end backend server that is specially designed for frontend and mobile developers. It is a self-hosted solution that provides developers with a set of easy-to-use APIs to build any kind of project.\n\nLearn more about Appwrite [here](https://appwrite.io/).\n\n## Features\n\n- Supports Email sign-in and sign-up\n- Supports for OAuth providers\n- Forgot password and reset password\n- Beautiful and animated UI\n- Built on File-based routing\n- Supports Dark and Light mode\n\n## Tech Stack\n\n- [React Native](https://reactnative.dev/)\n- [Expo](https://expo.dev/)\n- [Appwrite](https://appwrite.io/)\n- [Expo Router](https://github.com/expo/router)\n\n## Getting started\n\nIf you are new to Github and haven't heard how to use this template, I recommend refer to [getting-started](docs/getting-started.md) guide on how to use this template.\n\nOnce you have the project setup, let's setup Appwrite Project and configure the app.\n\n### Appwrite Setup\n\n1. Create an account on [Appwrite](https://cloud.appwrite.io/) if you don't have already.\n\n2. If you don't have and org setup, create a new organization.\n\n3. Once thats done, create a new project. Give it a name and a custom project Id.\n\n4. Add a new ios and android platform to the project. You can find the bundle identifier in the `app.json` file.\n\n5. To Setup OAuth providers, go to the `Auth =\u003e Settings` tab in the Appwrite dashboard and add the providers you want to use. Refer to their individual docs on how to setup the OAuth providers.\n\n#### Setup Cloud Function\n\nThis projects uses a cloud function that redirects back to your app when you click the password reset login you receive in your email. To setup the cloud function, I recommend using `Deploy from Git` option in `Functions` tab in the Appwrite dashboard.\n\nTo learn more about how to deploy a function from git, refer to the [Function docs](https://appwrite.io/docs/products/functions/deploy-from-git).\n\nElse you can also use appwrite CLI to deploy the function.\n\nOnce you have setup the cloud function, add the following environment variable to the function.\n\n```env\nAPP_SCHEME=your_app_scheme\n```\n\nFor example,\n\n```env\nAPP_SCHEME=rnauth\n```\n\n\u003e [!IMPORTANT]\n\u003e For security reasons, it is recommended to add the `APP_SCHEME` in the function environment variable.\n\u003e This scheme is needed to redirect back to the app. You can find the scheme in the `app.json` file.\n\u003e Without this it won't redirect back to your app\n\n- Once that's done, go to the `Domains` tab and copy the url of the function.\n- Then add a new Web app Platform in the Appwrite Project\n- Give any name of your choice and paste the hostname of the function in the Hostname field.\n\nThat's it for the Appwrite setup. Now let's configure the app.\n\n### App Configuration\n\n1. Copy the `.env.example` file to `.env` and fill in the details.\n\n   ```bash\n   cp .env.example .env\n   ```\n\n2. Fill in the Appwrite details in the `.env` file.\n\n   ```env\n   EXPO_PUBLIC_API_URL=your_appwrite_api_url\n   EXPO_PUBLIC_PROJECT_ID=your_appwrite_project_id\n   EXPO_PUBLIC_PLATFORM=your_app_bundle_id\n   EXPO_PUBLIC_REDIRECT_URL=your_appwrite_redirect_url\n   ```\n\n\u003e You will find the Redirect URL in your cloud function under the `Domain` tab. Paste the URL in the `EXPO_PUBLIC_REDIRECT_URL` field.\n\n3. Ensure you change the app name , app slug and bundle identifier in the `app.json` file.\n\n\u003e [!NOTE]\n\u003e Ensure the bundle identifier is the same as the one you added in the Appwrite project.\n\n4. (Optional) you can change the app splash screen and icon in the `app.json` file.\n\n### Running the app\n\n1. Install dependencies\n\n   ```bash\n   npm install\n   ```\n\n2. Prebuild the app\n\n   ```bash\n   npx expo prebuild\n   ```\n\n3. If you are development mode, ensure you type `npm run ios` or `npm run android` to start the app.\n\n4. If the app is already installed, `npm run start` should be fine for you\n\n## Screenshots\n\n|    \u003cimg src=\".github/screenshots/landing.png\" width=\"500\" \u003e    |     \u003cimg src=\".github/screenshots/login.png\" width=\"500\" \u003e      |\n| :------------------------------------------------------------: | :-------------------------------------------------------------: |\n|    \u003cimg src=\".github/screenshots/signup.png\" width=\"500\" \u003e     | \u003cimg src=\".github/screenshots/forgotpassword.png\" width=\"500\" \u003e |\n| \u003cimg src=\".github/screenshots/resetpassword.png\" width=\"500\" \u003e |      \u003cimg src=\".github/screenshots/home.png\" width=\"500\" \u003e      |\n\n## Contributing\n\nContributions are highly Welcomed 💙 . Feel free to open PRs for small issues such as typos. For large issues or features, please open an issue and wait for it to be assigned to you.\n\n## Join the community\n\nJoin Appwrite community of developers and contributors to get help, share your projects and contribute to the platform.\n\n- [Appwrite on GitHub](https://github.com/appwrite/appwrite): View appwrite open source platform and contribute.\n- [Discord community](https://appwrite.io/discord): Geek out with other Appwriters and get help from the community.\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2002bishwajeet%2Frn-auth-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2002bishwajeet%2Frn-auth-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2002bishwajeet%2Frn-auth-ui/lists"}