{"id":13433876,"url":"https://github.com/msaaddev/next-firebase-auth-template","last_synced_at":"2025-10-06T18:58:46.430Z","repository":{"id":114948431,"uuid":"405653411","full_name":"msaaddev/next-firebase-auth-template","owner":"msaaddev","description":"⚡️ A Next.js PWA template with firebase user authentication implemented to quickly get you started. Just fork it and use it!","archived":false,"fork":false,"pushed_at":"2021-12-06T20:14:29.000Z","size":6311,"stargazers_count":14,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-07T18:50:09.381Z","etag":null,"topics":["firebase","firebase-auth","nextjs","nextjs-firebase","nextjs-firebase-auth","pwa"],"latest_commit_sha":null,"homepage":"https://next-firebase-auth-temp.vercel.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/msaaddev.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","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,"zenodo":null}},"created_at":"2021-09-12T13:45:47.000Z","updated_at":"2025-01-14T14:56:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7dc77767-9ddf-4f1b-a63f-74d88c5cee1b","html_url":"https://github.com/msaaddev/next-firebase-auth-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/msaaddev/next-firebase-auth-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaaddev%2Fnext-firebase-auth-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaaddev%2Fnext-firebase-auth-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaaddev%2Fnext-firebase-auth-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaaddev%2Fnext-firebase-auth-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msaaddev","download_url":"https://codeload.github.com/msaaddev/next-firebase-auth-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msaaddev%2Fnext-firebase-auth-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278663356,"owners_count":26024389,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","nextjs","nextjs-firebase","nextjs-firebase-auth","pwa"],"created_at":"2024-07-31T02:01:38.799Z","updated_at":"2025-10-06T18:58:46.394Z","avatar_url":"https://github.com/msaaddev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"![cover](assets/cover.jpg)\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cstrong\u003eA Next.js template with firebase user authentication implemented to quickly get you started with your project\u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/License-MIT-%23000000\" alt=\"license MIT\"\u003e\n\t\u003ca href=\"https://stars.github.com/nominate/\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/badge/GitHub%20Star-Nominate%20%40msaaddev-%23000000\" alt=\"nominate @msaaddev for GitHub Star\" /\u003e\n\t\u003c/a\u003e\n\u003c/div\u003e\n\n![separator](assets/separate.jpg)\n\n- **PWA**: A progressive web app so you can also install and use it as a desktop app\n- **Firebase Auth**: Contains all the code you may need to setup user sign up and login features in your project\n- **State Management**: State Management with ~~Redux~~ React's Context API\n- **Prettier**: Integrated Prettier to easily format the code with `npm run format`\n- **MIT Licensed**: Free to use for personal and commercial use\n\n## 🚀 Usage\n\n#### 🏗 Firebase Setup\n\n1. Create a firebase project first then create a web app in that project.\n2. Once you have done this, you will get some config keys like API key, auth domain, etc. Make sure you save it somewhere.\n3. Click on Authentication from the left sidebar, go to `Sign-in method` and enable `Email/Password`.\n\n#### 💥 Template Setup\n\n1. Either fork the repo or click on the `Use this template` button to create a new repository with this template.\n2. Now clone the repo, open it in your preferred code editor, and install all the dependencies using `npm install`.\n3. Create a `.env.local` file in the root directory and paste the following in there.\n\n```env\nNEXT_PUBLIC_Firebase_API_Key=YOUR_API_KEY_GOES_HERE\nNEXT_PUBLIC_Auth_Domain=YOUR_AUTH_DOMAIN_GOES_HERE\nNEXT_PUBLIC_Project_Id=YOUR_PROJECT_ID_GOES_HERE\nNEXT_PUBLIC_Storage_Bucket=YOUR_STORAGE_BUCKET_GOES_HERE\nNEXT_PUBLIC_Message_Sender_Id=YOUR_MESSAGE_SENDER_ID_GOES_HERE\nNEXT_PUBLIC_App_Id=YOUR_APP_ID_GOES_HERE\n```\n\n4. Replace the values above with the keys you got when you set up the web app. (Firebase Setup #2)\n5. Now open your terminal and type in `npm run dev` to start the server.\n\n## 🎩 Preview\n\n![demo](assets/demo.gif)\n## 👨🏻‍💻 Contributing\n\nMake sure you read the [contributing guidelines](https://github.com/msaaddev/next-firebase-auth-template/blob/main/contributing.md) before opening a PR. \n\n## ⚡️ Other Projects\n\nI have curated a [detailed list](https://github.com/msaaddev/open-source) of all the open-source projects I have authored. Do take out a moment and take a look.\n\n## 🔑 License \u0026 Conduct\n\n- MIT © [Saad Irfan](https://github.com/msaaddev)\n- [Code of Conduct](https://github.com/msaaddev/next-firebase-auth-template/blob/main/code-of-conduct.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsaaddev%2Fnext-firebase-auth-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsaaddev%2Fnext-firebase-auth-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsaaddev%2Fnext-firebase-auth-template/lists"}