{"id":44660163,"url":"https://github.com/johnapost/nextjs-firebase-fns-demo","last_synced_at":"2026-02-14T23:13:07.526Z","repository":{"id":35998699,"uuid":"172151576","full_name":"johnapost/nextjs-firebase-fns-demo","owner":"johnapost","description":"Demo for serverless NextJS on Firebase Functions","archived":false,"fork":false,"pushed_at":"2026-02-12T11:49:51.000Z","size":423,"stargazers_count":13,"open_issues_count":37,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-12T20:14:38.229Z","etag":null,"topics":["firebase-functions","nextjs","nextjs-serverless","nextjs-starter","nextjs-template"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnapost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-23T00:13:43.000Z","updated_at":"2023-10-30T05:50:16.000Z","dependencies_parsed_at":"2023-01-16T11:31:20.583Z","dependency_job_id":"a9817017-b26b-4317-81ad-e9499a3b5fb3","html_url":"https://github.com/johnapost/nextjs-firebase-fns-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/johnapost/nextjs-firebase-fns-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnapost%2Fnextjs-firebase-fns-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnapost%2Fnextjs-firebase-fns-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnapost%2Fnextjs-firebase-fns-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnapost%2Fnextjs-firebase-fns-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnapost","download_url":"https://codeload.github.com/johnapost/nextjs-firebase-fns-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnapost%2Fnextjs-firebase-fns-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29460178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"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-functions","nextjs","nextjs-serverless","nextjs-starter","nextjs-template"],"created_at":"2026-02-14T23:13:07.048Z","updated_at":"2026-02-14T23:13:07.518Z","avatar_url":"https://github.com/johnapost.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextJS on Firebase Functions\n\nThis is a demo NextJS app (in serverless mode) for use with Firebase Functions.\n\nQuick reasons:\n1. Build quickly with React\n1. Server-side rendering for SEO visibility\n1. Serverless scaling\n1. Easy access to Firebase features\n\n## Why NextJS?\n[NextJS](https://nextjs.org) is a React framework optimized out of the box for server-side rendering, which is extremely important for SEO visibility. It also handles routing and server-side logic in a smart way. Check out the project for a detailed overview.\n\n## Why serverless mode?\nPay for the computing that you use. Scale your app without being stuck in the infrastructure weeds. It's a great choice to handle future traffic with little upfront investment.\n\n## Why Firebase Functions?\nI recommend Firebase Functions because it provides easy access to the [Firebase](https://firebase.google.com/products/) ecosystem.\n\nFirebase is a great platform for building apps. It's fairly easy set up authentication. It also provides simple integration with [Firestore](https://cloud.google.com/firestore/), a data store that scales with your app usage. Perfect for a weekend project that could become a side business.\n\nThat said, your Firebase Functions are actually [Google Cloud Functions](https://firebase.google.com/docs/functions/functions-and-firebase). That's important to remember if you run into issues and start looking for answers.\n\n## Requirements\n* Node.js 8.15.0, the latest supported runtime for [Firebase Functions](https://cloud.google.com/functions/docs/concepts/nodejs-8-runtime)\n\n## Getting Started\n* [Create your Firebase project](https://console.firebase.google.com/) - Requires Google login.\n* `npm install` - Install dependencies\n* `npx firebase login` - Requires web browser for Google login.\n* `npx firebase use --add` - Select your project when prompted.\n* `npx firebase deploy` - Deploy these functions to your project.\n* Visit the [Firebase Console](https://console.firebase.google.com/) and select your project.\n* Navigate to Hosting in the left-hand navigation.\n* Click on the \u003cfirebase-project-id\u003e.firebaseapp.com domain and see the demo.\n\n## Important Note:\nAll your functions are bundled together when uploading to Firebase. That means that with sufficient routes you may hit the [Max deployment size quota](https://cloud.google.com/functions/quotas). Plan accordingly!\n\n[See this comment.](https://github.com/firebase/firebase-tools/issues/1163#issuecomment-472071855)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnapost%2Fnextjs-firebase-fns-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnapost%2Fnextjs-firebase-fns-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnapost%2Fnextjs-firebase-fns-demo/lists"}