{"id":22688183,"url":"https://github.com/emanuelefavero/nextjs-firestore-db","last_synced_at":"2026-04-13T22:33:46.611Z","repository":{"id":69318092,"uuid":"595901285","full_name":"emanuelefavero/nextjs-firestore-db","owner":"emanuelefavero","description":"This is a simple example of how to use Next.js with Firestore database","archived":false,"fork":false,"pushed_at":"2024-07-07T17:53:55.000Z","size":66,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T16:12:46.381Z","etag":null,"topics":["firebase","firebase-database","firestore","next","nextjs"],"latest_commit_sha":null,"homepage":"https://nextjs-firestore-db.vercel.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/emanuelefavero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-02-01T03:12:41.000Z","updated_at":"2025-03-26T01:52:46.000Z","dependencies_parsed_at":"2025-02-04T16:44:42.886Z","dependency_job_id":"bf411891-e71e-4e7b-ad20-4577f94ddb26","html_url":"https://github.com/emanuelefavero/nextjs-firestore-db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelefavero/nextjs-firestore-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-firestore-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-firestore-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-firestore-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-firestore-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/nextjs-firestore-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-firestore-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31774028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-database","firestore","next","nextjs"],"created_at":"2024-12-10T00:13:24.159Z","updated_at":"2026-04-13T22:33:46.603Z","avatar_url":"https://github.com/emanuelefavero.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Firestore db\n\nThis is a simple example of how to use Next.js with Firestore database\n\n## Live Demo\n\n- [https://nextjs-firestore-db.vercel.app/](https://nextjs-firestore-db.vercel.app/)\n\n## Getting Started\n\n- Clone the repo and `cd` into it\n\n- Create a Firebase project on the [Firebase console](https://console.firebase.google.com/)\n\n- Enable Firestore in the Firebase console and add a collection called `posts` with a document containing the following fields:\n\n```json\n{\n  \"title\": \"My first post\",\n  \"content\": \"This is my first post\"\n}\n```\n\n- Add a new web app in Firebase settings, get the Firebase config object from the Firebase console and add it to a `.env.local` file in the root of the project:\n\n\u003e Note: Firebase API keys are public by design, but make sure to have proper security rules in place for your Firestore database.\n\n```bash\nAPI_KEY=\nAUTH_DOMAIN=\nPROJECT_ID=\nSTORAGE_BUCKET=\nMESSAGING_SENDER_ID=\nAPP_ID=\n```\n\n- Install the dependencies:\n\n```bash\nnpm install\n```\n\n- Run the development server:\n\n```bash\nnpm run dev\n```\n\n- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result\n\n## Resources\n\n- [Firestore Docs](https://firebase.google.com/docs/firestore/quickstart?hl=en\u0026authuser=0#web-version-9_1)\n\n## License\n\n- [MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnextjs-firestore-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fnextjs-firestore-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnextjs-firestore-db/lists"}