{"id":18657128,"url":"https://github.com/qharny/phone-no.-verification","last_synced_at":"2026-04-29T00:06:31.590Z","repository":{"id":241550286,"uuid":"807000312","full_name":"Qharny/Phone-No.-verification","owner":"Qharny","description":"Phone number verification with Firebase","archived":false,"fork":false,"pushed_at":"2024-06-01T20:23:45.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-27T15:10:25.925Z","etag":null,"topics":["firebase","firebase-auth"],"latest_commit_sha":null,"homepage":"","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/Qharny.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":"2024-05-28T09:50:36.000Z","updated_at":"2024-06-01T20:23:48.000Z","dependencies_parsed_at":"2024-06-01T22:15:52.238Z","dependency_job_id":null,"html_url":"https://github.com/Qharny/Phone-No.-verification","commit_stats":null,"previous_names":["qharny/phone-no.-verification"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qharny%2FPhone-No.-verification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qharny%2FPhone-No.-verification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qharny%2FPhone-No.-verification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qharny%2FPhone-No.-verification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qharny","download_url":"https://codeload.github.com/Qharny/Phone-No.-verification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239474000,"owners_count":19644826,"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":["firebase","firebase-auth"],"created_at":"2024-11-07T07:26:48.973Z","updated_at":"2025-11-05T21:30:28.921Z","avatar_url":"https://github.com/Qharny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# Firebase Phone Authentication\n\nThis project demonstrates how to implement Firebase phone authentication in a web application. Users can enter their phone number, receive a verification code via SMS, and verify the code to authenticate.\n\n## Prerequisites\n\n- Firebase project set up\n- Firebase configuration (API key, auth domain, etc.)\n- Basic understanding of HTML, CSS, and JavaScript\n\n## Setup\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/qharny/firebase-phone-auth.git\n   cd firebase-phone-auth\n   ```\n\n2. **Update Firebase Configuration:**\n\n   Replace the Firebase configuration in `script.js` with your own Firebase project configuration:\n\n   ```javascript\n   const firebaseConfig = {\n     apiKey: \"YOUR_API_KEY\",\n     authDomain: \"YOUR_AUTH_DOMAIN\",\n     projectId: \"YOUR_PROJECT_ID\",\n     storageBucket: \"YOUR_STORAGE_BUCKET\",\n     messagingSenderId: \"YOUR_MESSAGING_SENDER_ID\",\n     appId: \"YOUR_APP_ID\"\n   };\n   ```\n\n3. **Serve the project:**\n\n   Use any web server to serve the HTML file. You can use the Live Server extension in Visual Studio Code or a simple HTTP server in Python:\n\n   ```bash\n   python -m http.server\n   ```\n\n   Open `http://localhost:8000` in your browser.\n\n## Usage\n\n1. **Enter Phone Number:**\n\n   - Open the web application in your browser.\n   - Enter your phone number in the format `+1234567890`.\n\n2. **Send Verification Code:**\n\n   - Click the \"Send Verification Code\" button.\n   - A reCAPTCHA verification will be triggered, and an SMS with the verification code will be sent to the provided phone number.\n\n3. **Enter Verification Code:**\n\n   - Enter the verification code received via SMS in the input field.\n\n4. **Verify Code:**\n\n   - Click the \"Verify Code\" button.\n   - If the code is correct, the user will be signed in successfully.\n\n## File Structure\n\n```plaintext\n.\n├── index.html\n├── script.js\n└── README.md\n```\n\n- **index.html**: The HTML file containing the structure of the web application.\n- **script.js**: The JavaScript file containing Firebase configuration and authentication logic.\n- **README.md**: This README file.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request for any improvements or fixes.\n\n\u003c!-- ## License\n\nThis project is licensed under the MIT License. --\u003e\n\n## Contact\n\nFor any questions or issues, please open an issue in the repository or contact the project maintainer.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqharny%2Fphone-no.-verification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqharny%2Fphone-no.-verification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqharny%2Fphone-no.-verification/lists"}