{"id":15286388,"url":"https://github.com/git-abby/login-app","last_synced_at":"2026-04-11T03:33:37.983Z","repository":{"id":255071988,"uuid":"848440688","full_name":"Git-abby/login-app","owner":"Git-abby","description":"A React login app using Firebase Authentication, Firestore, GitHub Actions for CI/CD, and deployed on Firebase Hosting.","archived":false,"fork":false,"pushed_at":"2024-12-26T14:00:35.000Z","size":470,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:26:15.077Z","etag":null,"topics":["cicd","firebase","firebase-auth","github-actions","googleauth","login-system","reactjs","tailwindcss","web-development"],"latest_commit_sha":null,"homepage":"https://login-page-64d15.web.app/","language":"JavaScript","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/Git-abby.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-27T19:04:45.000Z","updated_at":"2024-12-26T14:00:39.000Z","dependencies_parsed_at":"2024-08-27T21:43:55.485Z","dependency_job_id":"f2365683-3490-4b69-b6f4-28bc24a42a76","html_url":"https://github.com/Git-abby/login-app","commit_stats":null,"previous_names":["git-abby/login-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Git-abby/login-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Git-abby%2Flogin-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Git-abby%2Flogin-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Git-abby%2Flogin-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Git-abby%2Flogin-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Git-abby","download_url":"https://codeload.github.com/Git-abby/login-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Git-abby%2Flogin-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606977,"owners_count":22883559,"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":["cicd","firebase","firebase-auth","github-actions","googleauth","login-system","reactjs","tailwindcss","web-development"],"created_at":"2024-09-30T15:13:36.740Z","updated_at":"2025-12-30T22:35:56.860Z","avatar_url":"https://github.com/Git-abby.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Login App\n\n![React](https://img.shields.io/badge/React-v18.2.0-blue) \n![Firebase](https://img.shields.io/badge/Firebase-Authentication-orange) \n![Firestore](https://img.shields.io/badge/Firestore-NoSQL-yellow) \n![GitHub Actions](https://img.shields.io/badge/GitHub%20Actions-CI%2FCD-brightgreen)\n![Firebase Hosting](https://img.shields.io/badge/Firebase%20Hosting-Live-brightgreen)\n\nThis project is a login application built using **React** for the frontend, **Firebase** for authentication and Firestore as the database, and **GitHub Actions** for continuous integration and deployment. The app supports user registration, login with email/password, Google login, and logout functionality. It also stores user data securely in Firestore and has deployment on Firebase Hosting.\n\n## Features\n\n- ✅ User registration with email and password.\n- ✅ Login with email and password.\n- ✅ Login with Google account.\n- ✅ Firebase Authentication for secure user management.\n- ✅ Firestore database for storing user profiles.\n- ✅ Logout functionality.\n- ✅ Continuous integration using GitHub Actions.\n- ✅ Firebase Hosting deployment.\n\n## Tech Stack\n\n- **Frontend**: ![React](https://img.shields.io/badge/React-v18.2.0-blue)\n- **Authentication**: ![Firebase](https://img.shields.io/badge/Firebase-Authentication-orange)\n- **Database**: ![Firestore](https://img.shields.io/badge/Firestore-NoSQL-yellow)\n- **Deployment**: ![Firebase Hosting](https://img.shields.io/badge/Firebase%20Hosting-Live-brightgreen)\n- **CI/CD**: ![GitHub Actions](https://img.shields.io/badge/GitHub%20Actions-CI%2FCD-brightgreen)\n\n## Prerequisites\n\n- Node.js (v16+)\n- Firebase account (for Authentication and Firestore setup)\n- Firebase CLI installed globally: `npm install -g firebase-tools`\n- Git\n\n## Getting Started\n\nFollow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/Git-abby/login-app.git\ncd login-app\n```\n\n### 2. Install Dependencies\n\nBefore running the project, install the required npm packages.\n\n```bash\nnpm install\n```\n\n### 3. Firebase Setup\n\nYou need to configure Firebase for authentication and Firestore in your project. Follow these steps:\n\n1. Go to the [Firebase Console](https://console.firebase.google.com/).\n2. Create a new project.\n3. Add Firebase Authentication (enable Email/Password and Google sign-in methods).\n4. Create a Firestore database (choose \"Start in Test mode\" for ease of development).\n5. Create a new web app in Firebase and get the configuration keys.\n\n```plaintext\nREACT_APP_API_KEY=your-firebase-api-key\nREACT_APP_AUTH_DOMAIN=your-firebase-auth-domain\nREACT_APP_PROJECT_ID=your-firebase-project-id\nREACT_APP_STORAGE_BUCKET=your-firebase-storage-bucket\nREACT_APP_MESSAGING_SENDER_ID=your-firebase-messaging-sender-id\nREACT_APP_APP_ID=your-firebase-app-id\n```\n\n### 4. Running the Application Locally\n\nOnce the Firebase configuration is set up, you can run the application locally.\n\n```bash\nnpm start\n```\n\nThis will start the development server at `http://localhost:3000`.\n\n### 5. Deploying to Firebase\n\nOnce you're ready to deploy, follow these steps:\n\n1. Log in to Firebase CLI:\n\n```bash\nfirebase login\n```\n\n2. Initialize Firebase in your project:\n\n```bash\nfirebase init\n```\n\nSelect **Hosting** and configure the public directory as `build`. After that, build the app:\n\n```bash\nnpm run build\n```\n\n3. Deploy the application:\n\n```bash\nfirebase deploy\n```\n\nYour app will now be live on Firebase Hosting!\n\n### 6. Continuous Integration with GitHub Actions\n\nThis repository includes GitHub Actions for automatic deployment to Firebase Hosting when code is pushed to the `main` branch.\n\nTo set up the CI/CD pipeline, you need to add your Firebase `FIREBASE_TOKEN` to the GitHub repository secrets:\n\n1. Run the following command to get your Firebase token:\n\n```bash\nfirebase login:ci\n```\n\n2. Go to your GitHub repository and navigate to **Settings \u003e Secrets and Variables \u003e Actions**.\n3. Add a new secret with the name `FIREBASE_TOKEN` and paste the token value.\n\nOnce set, your app will automatically be deployed to Firebase Hosting upon every push to the `main` branch.\n\n## Project Structure\n\n```plaintext\nlogin-app/\n├── public/                  # Public assets and index.html\n├── src/                     # Application source code\n│   ├── components/          # Reusable components like Login, Register, Profile\n│   ├── firebase.js          # Firebase configuration and initialization\n│   ├── App.js               # Main app component\n│   ├── index.js             # Entry point of the React app\n│   └── styles/              # CSS styles for the app\n├── .github/                 # GitHub Actions workflow configuration\n│   └── workflows/\n│       └── firebase-hosting-merge.yml\n│       └── firebase-hosting-pull-request.yml\n├── .gitignore               # Files and folders to be ignored by Git\n├── package.json             # Dependencies and scripts\n├── README.md                # Project documentation\n└── firebase.json            # Firebase configuration for hosting\n```\n\n## Available Scripts\n\nIn the project directory, you can run the following scripts:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for best performance.\n\n## Firestore Security Rules\n\nYou can modify your Firestore security rules by editing the Firestore rules in the Firebase Console or in the `firestore.rules` file. Ensure that only authenticated users can access the data.\n\n```plaintext\nservice cloud.firestore {\n  match /databases/{database}/documents {\n    match /users/{userId} {\n      allow read, write: if request.auth.uid == userId;\n    }\n  }\n}\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-abby%2Flogin-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-abby%2Flogin-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-abby%2Flogin-app/lists"}