{"id":16212006,"url":"https://github.com/realstoman/nextjs-firebase-auth","last_synced_at":"2025-08-26T23:33:45.014Z","repository":{"id":116429984,"uuid":"597684891","full_name":"realstoman/nextjs-firebase-auth","owner":"realstoman","description":"Learn how to implement Google Firebase Authentication in your React, Next.js, TypeScript projects.","archived":false,"fork":false,"pushed_at":"2023-02-06T09:13:06.000Z","size":227,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-05T09:41:21.101Z","etag":null,"topics":["authentication","context-api","firebase","firebase-auth","firebase-database","framer","framer-motion","frontend","hooks","javascript","js","nextauth","nextjs","nextjs-auth","react","react-authentication","reactjs","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://firebase-auth-with-nextjs.netlify.app/","language":"TypeScript","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/realstoman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-05T10:19:49.000Z","updated_at":"2025-06-08T16:04:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"1273b896-f4a6-44dd-a172-5661113958fc","html_url":"https://github.com/realstoman/nextjs-firebase-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/realstoman/nextjs-firebase-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realstoman%2Fnextjs-firebase-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realstoman%2Fnextjs-firebase-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realstoman%2Fnextjs-firebase-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realstoman%2Fnextjs-firebase-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realstoman","download_url":"https://codeload.github.com/realstoman/nextjs-firebase-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realstoman%2Fnextjs-firebase-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272267230,"owners_count":24903642,"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-08-26T02:00:07.904Z","response_time":60,"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":["authentication","context-api","firebase","firebase-auth","firebase-database","framer","framer-motion","frontend","hooks","javascript","js","nextauth","nextjs","nextjs-auth","react","react-authentication","reactjs","tailwindcss","typescript"],"created_at":"2024-10-10T10:49:53.851Z","updated_at":"2025-08-26T23:33:44.971Z","avatar_url":"https://github.com/realstoman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Authentication With Next.js\n\nLearn how to implement Google Firebase Authentication in your React, Next.js, TypeScript projects.\n\n![NextJS-Firebase-Auth](https://user-images.githubusercontent.com/16396664/216896590-f366b211-cab7-4347-ab72-784d140c82a2.JPG)\n\n## Demo URL\n\n[https://firebase-auth-with-nextjs.netlify.app/](https://firebase-auth-with-nextjs.netlify.app/)\n\n## Features\n\n-   Authentication with Google Firebase v9\n-   Form validation with Tailwind CSS\n-   React context API\n-   Custom Hooks\n-   Clean UI\n-   Protected routes\n-   Next.js v13\n-   TypeScript v4.9\n-   [Tailwind CSS v3](https://tailwindcss.com)\n-   Forms designed for both light and dark modes\n-   Framer motion transitions\n\n### To Contribute to this project, please read the [Contribution Guidlines](https://github.com/realstoman/nextjs-firebase-auth/blob/main/CONTRIBUTING.md)\n\n## Database Setup\n\n1. Create a Firebase project [here](https://console.firebase.google.com/)\n\n1. Make sure the `.env` file is added to the `.gitignore` file\n\n1. Rename the `.env.example` to `.env` or `.env.local`\n\n1. Add your Firebase project configurations to the `.env` file. I have already prepared the the environment variables for you.\n\n1. If you're not familiar with setting up a Firebase project, read [this article](https://www.stoman.me/articles/nextjs-firebase-auth) I wrote for this project available on my website where I have explained every step with screenshots.\n\n## Project Setup\n\n1. Make sure you have Node JS installed. If you don't have it:\n\n-   [Download it from nodejs.org](https://nodejs.org)\n-   [Install it using NVM ](https://github.com/nvm-sh/nvm)\n-   If you're on Mac, Homebrew is a good option too:\n\n```\nbrew install node\n```\n\n2. Clone the repo:\n\n```\ngit clone https://github.com/realstoman/nextjs-firebase-auth.git\n```\n\n3. Open the project folder:\n\n```\ncd nextjs-firebase-auth\n```\n\n4. Install packages and dependencies:\n\n```\nnpm install\n```\n\n5. Start a local dev server at `http://localhost:3000`:\n\n```\nnpm run dev\n```\n\n## Notes\n\n-   Always run `npm install` after pulling new changes.\n-   Feel free to use the code in your projects.\n-   I'll be constantly updating this repo as I'll be adding more sections to it, so please always check the projects section of this repo to see what tasks are under todo or in progress.\n-   Coming Soon [I'll be doing a screencast](https://www.youtube.com/@realstoman). Soon I'll be uploading a video to my YouTube channel where I'll be going through the process of creating this project.\n-   Contributions are welcome.\n\n### License\n\n[MIT](https://github.com/realstoman/nextjs-firebase-auth/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealstoman%2Fnextjs-firebase-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealstoman%2Fnextjs-firebase-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealstoman%2Fnextjs-firebase-auth/lists"}