{"id":20744703,"url":"https://github.com/rioam2/starter-firebase-nextjs","last_synced_at":"2025-04-24T05:47:08.839Z","repository":{"id":35676631,"uuid":"191851069","full_name":"rioam2/starter-firebase-nextjs","owner":"rioam2","description":"🚀 Starter code for React.js web applications supported with SSR by Next.js on Google Firebase Cloud Functions","archived":false,"fork":false,"pushed_at":"2023-01-07T06:38:03.000Z","size":1238,"stargazers_count":15,"open_issues_count":26,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-24T05:47:02.294Z","etag":null,"topics":["firebase","firestore","fullstack","nextjs","react","template"],"latest_commit_sha":null,"homepage":"","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/rioam2.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}},"created_at":"2019-06-14T00:34:45.000Z","updated_at":"2021-07-06T14:57:03.000Z","dependencies_parsed_at":"2023-01-16T03:01:02.542Z","dependency_job_id":null,"html_url":"https://github.com/rioam2/starter-firebase-nextjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Fstarter-firebase-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Fstarter-firebase-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Fstarter-firebase-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Fstarter-firebase-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rioam2","download_url":"https://codeload.github.com/rioam2/starter-firebase-nextjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573343,"owners_count":21452345,"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":["firebase","firestore","fullstack","nextjs","react","template"],"created_at":"2024-11-17T07:16:52.798Z","updated_at":"2025-04-24T05:47:08.815Z","avatar_url":"https://github.com/rioam2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @template/starter-firebase-nextjs\n\nForked from [@jthegedus/firebase-gcp-examples](https://github.com/jthegedus/firebase-gcp-examples/tree/master/functions-nextjs) and adapted for personal taste.\n\n## Quickstart\n\nTo use this template, click [\"Use Template\"](https://github.com/rioam2/starter-firebase-nextjs/generate) at the top of the page. This will guide you through generating a new repository with this as a base. Next, head over to [Firebase](https://console.firebase.google.com) and create a new project to host your site. Take note of the project id. Finally, clone your newly generated repository and run these commands (as applicable) from the project root:\n\n```shell\nyarn setup                  # setup environment variables and CI/CD\nyarn dev                    # start live dev server\nyarn preview:staging        # staging preview\nyarn preview:production     # production preview\nyarn deploy:staging         # publish to staging Firebase project\nyarn deploy:production      # publish to production Firebase project\n```\n\n# Manual Environment Setup:\n\nIf you are unable to use the automated setup script, you can still manually create the following `.env` file to setup your project:\n\n```js\n// .env\nSTATIC_PROD_PROJECT=...     // production Firebase project-id\nSTATIC_PROD_WEBAPP_KEY=...  // from firebase console\nSTATIC_STAGE_PROJECT=...    // (optional) staging Firebase project-id\nSTATIC_STAGE_WEBAPP_KEY=... // (optional) from firebase console\nSTATIC_DEPLOY_KEY=...       // from yarn firebase login:ci\n```\n\nFor CI/CD with TravisCI, you will need to do the following:\n\n1. Authorize TravisCI and enable on repository (if applicable).\n2. Add environment variables in your repository settings on TravisCI for the each of the variables in your `.env` file.\n\n# Syncing upstream changes from this template\n\nIf you would like to keep your template instance up-to-date with this source repository, you can do the following to select and apply updates:\n\n```shell\nyarn update\n```\n\nThis will allow you to apply all necessary, tested, non-breaking patches and changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioam2%2Fstarter-firebase-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frioam2%2Fstarter-firebase-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioam2%2Fstarter-firebase-nextjs/lists"}