{"id":19328358,"url":"https://github.com/tmhsdigital/template-app-firebase-login","last_synced_at":"2025-02-24T06:40:21.920Z","repository":{"id":256043128,"uuid":"854195577","full_name":"TMHSDigital/TEMPLATE-App-Firebase-Login","owner":"TMHSDigital","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-08T16:33:09.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T07:27:52.608Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TMHSDigital.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-09-08T16:20:18.000Z","updated_at":"2024-09-08T16:33:12.000Z","dependencies_parsed_at":"2024-09-08T18:22:08.868Z","dependency_job_id":null,"html_url":"https://github.com/TMHSDigital/TEMPLATE-App-Firebase-Login","commit_stats":null,"previous_names":["tmhsdigital/template-app-firebase-login"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTEMPLATE-App-Firebase-Login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTEMPLATE-App-Firebase-Login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTEMPLATE-App-Firebase-Login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTEMPLATE-App-Firebase-Login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TMHSDigital","download_url":"https://codeload.github.com/TMHSDigital/TEMPLATE-App-Firebase-Login/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434181,"owners_count":19800546,"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-10T02:21:48.287Z","updated_at":"2025-02-24T06:40:21.769Z","avatar_url":"https://github.com/TMHSDigital.png","language":"JavaScript","readme":"# TEMPLATE-App-Firebase-Login\n\nThis template provides a starting point for creating a React application with Firebase Authentication, specifically using phone number authentication. The app is designed to work on both desktop and mobile devices.\n\n## Features\n\n- Phone number authentication using Firebase\n- Responsive design for desktop and mobile\n- React Router for navigation\n- Protected routes (Dashboard accessible only after login)\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n- Node.js and npm installed\n- A Firebase account and project set up\n- Basic knowledge of React and Firebase\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/TMHSDigital/TEMPLATE-App-Firebase-Login.git\n   cd TEMPLATE-App-Firebase-Login\n   ```\n\n2. Install dependencies:\n   ```\n   npm install\n   ```\n\n3. Create a `.env` file in the root directory and add your Firebase configuration:\n   ```\n   REACT_APP_FIREBASE_API_KEY=your_api_key\n   REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain\n   REACT_APP_FIREBASE_PROJECT_ID=your_project_id\n   REACT_APP_FIREBASE_STORAGE_BUCKET=your_storage_bucket\n   REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id\n   REACT_APP_FIREBASE_APP_ID=your_app_id\n   ```\n\n## Usage\n\nTo start the development server:\n\n```\nnpm start\n```\n\nThe application will be available at `http://localhost:3000`.\n\n## Project Structure\n\n- `public/`: Contains the HTML file and other static assets\n- `src/`: Contains the React application code\n  - `components/`: React components (Login, Dashboard)\n  - `styles/`: CSS files\n  - `utils/`: Utility functions (Firebase configuration)\n  - `App.js`: Main application component\n  - `index.js`: Entry point of the React application\n- `firebase.json`: Firebase configuration file\n\n## Customization\n\n1. Update the Firebase configuration in `src/utils/firebase.js` with your project's details.\n2. Modify the components in `src/components/` to fit your specific use case.\n3. Adjust the styles in `src/styles/App.css` to match your desired look and feel.\n\n## Deployment\n\nTo deploy the application to Firebase Hosting:\n\n1. Install the Firebase CLI:\n   ```\n   npm install -g firebase-tools\n   ```\n\n2. Login to Firebase:\n   ```\n   firebase login\n   ```\n\n3. Initialize your project:\n   ```\n   firebase init\n   ```\n\n4. Build your project:\n   ```\n   npm run build\n   ```\n\n5. Deploy to Firebase:\n   ```\n   firebase deploy\n   ```\n\n## Contributing\n\nContributions to this template are welcome. Please follow these steps:\n\n1. Fork the repository\n2. Create a new branch: `git checkout -b feature-branch-name`\n3. Make your changes and commit them: `git commit -m 'Add some feature'`\n4. Push to the original branch: `git push origin feature-branch-name`\n5. Create the pull request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contact\n\nIf you have any questions or suggestions, please open an issue in this repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Ftemplate-app-firebase-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmhsdigital%2Ftemplate-app-firebase-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Ftemplate-app-firebase-login/lists"}