{"id":18432307,"url":"https://github.com/naturalclar/react-native-auth-example","last_synced_at":"2025-04-14T01:23:57.119Z","repository":{"id":97449708,"uuid":"138798231","full_name":"Naturalclar/react-native-auth-example","owner":"Naturalclar","description":"A simple authentication example using react-native and firebase","archived":false,"fork":false,"pushed_at":"2018-11-03T22:22:24.000Z","size":377,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T09:27:16.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naturalclar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-26T21:59:51.000Z","updated_at":"2018-11-03T22:22:26.000Z","dependencies_parsed_at":"2023-03-27T14:02:15.201Z","dependency_job_id":null,"html_url":"https://github.com/Naturalclar/react-native-auth-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-auth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-auth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-auth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naturalclar%2Freact-native-auth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naturalclar","download_url":"https://codeload.github.com/Naturalclar/react-native-auth-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248805625,"owners_count":21164362,"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":[],"created_at":"2024-11-06T05:28:12.598Z","updated_at":"2025-04-14T01:23:57.086Z","avatar_url":"https://github.com/Naturalclar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Native Basic Authentication\n\nA simple authentication example using firebase.\nThe app contains a simple Log-in screen and a Log-out screen.\n\nWhen you enter your email and password in your Log-in screen,\nif the account exists, it will display the Log-out screen.\n\nIf no account exist, it will create a new account on `firebase` and display the Log-out screen.\n\n## Prerequisite\nYou will need to have `node` and `watchman` installed on your pc to use `react-native`\n\nBelow instructions are for Macs.\n\n### Install `node`\n\n```\nbrew install node\n```\n\n### Install `watchman`\n\n```\nbrew install watchman\n```\n\n### Install `yarn` (optional)\n\n```\nbrew install yarn\n```\n\n## Getting Started\n\nIn order to test this app, you will need to have your own [firebase](https://firebase.google.com/) project.\n\n### Create a new firebase project\n\nGo to [firebase](https://firebase.google.com/) and create a new firebase project.\n\n### Clone the Repository \n\n```\ngit clone https://github.com/Naturalclar/react-native-auth-example.git\n```\n\n### Install dependency\n\n```\nnpm install\n```\n\nor\n\n```\nyarn\n```\n\n### Create `.env` file\n\nOn the root directory of your project, create a `.env` file with your firebase project configuration.\n\n```.env\nAPI_KEY=YOUR_API_KEY\nAUTH_DOMAIN=YOUR_AUTH_DOMAIN\nDATABASE_URL=YOUR_DATABASE_URL\nPROJECT_ID=YOUR_PROJECT_ID\nSTORAGE_BUCKET=YOUR_STORAGE_BUCKET\nMESSAGING_SENDER_ID=YOUR_MESSAGING_SENDER_ID\n```\n\n### Run it on an emulator\n\n```\nyarn run-ios\n```\n\nor\n\n```\nyarn run-android\n```\n\n## Credits\n\nThis was built with the help of the following Udemy course\n[The Complete React Native and Redux Course](https://www.udemy.com/the-complete-react-native-and-redux-course)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalclar%2Freact-native-auth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaturalclar%2Freact-native-auth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalclar%2Freact-native-auth-example/lists"}