{"id":21450605,"url":"https://github.com/netlify-templates/astro-supabase-starter","last_synced_at":"2025-04-22T10:35:56.571Z","repository":{"id":264275289,"uuid":"887192540","full_name":"netlify-templates/astro-supabase-starter","owner":"netlify-templates","description":"The Astro Supabase starter demonstrates how to integrate Supabase into an Astro project deployed on Netlify.","archived":false,"fork":false,"pushed_at":"2025-04-21T05:32:49.000Z","size":1143,"stargazers_count":12,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-22T10:35:47.344Z","etag":null,"topics":["astro","astro-starter","astro-template","supabase","tailwindcss"],"latest_commit_sha":null,"homepage":"https://astro-supabase-starter.netlify.app/","language":"Astro","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/netlify-templates.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-12T10:24:21.000Z","updated_at":"2025-04-21T05:32:51.000Z","dependencies_parsed_at":"2024-12-30T06:27:30.758Z","dependency_job_id":"5dd88e7c-4322-4e03-b483-5773642f83aa","html_url":"https://github.com/netlify-templates/astro-supabase-starter","commit_stats":null,"previous_names":["netlify-templates/astro-supabase-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fastro-supabase-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fastro-supabase-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fastro-supabase-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netlify-templates%2Fastro-supabase-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netlify-templates","download_url":"https://codeload.github.com/netlify-templates/astro-supabase-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250221581,"owners_count":21394733,"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":["astro","astro-starter","astro-template","supabase","tailwindcss"],"created_at":"2024-11-23T04:15:57.545Z","updated_at":"2025-04-22T10:35:56.517Z","avatar_url":"https://github.com/netlify-templates.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro Supabase Starter\n\n![Astro Supabase Starter Preview](astro-supabase-starter-preview.png)\n\n**View demo:** [https://astro-supabase-starter.netlify.app/](https://astro-supabase-starter.netlify.app/)\n\nThe Astro Supabase starter demonstrates how to integrate **Supabase** into an Astro project deployed on Netlify.\n\n## Deploying to Netlify\n\nIf you click \"Deploy to Netlify\" button, it will create a new repo for you that looks exactly like this one, and sets that repo up immediately for deployment on Netlify.\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/astro-supabase-starter\u0026fullConfiguration=true)\n\n## Astro Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command                   | Action                                           |\n| :------------------------ | :----------------------------------------------- |\n| `npm install`             | Installs dependencies                            |\n| `npm run dev`             | Starts local dev server at `localhost:4321`      |\n| `npm run build`           | Build your production site to `./dist/`          |\n| `npm run preview`         | Preview your build locally, before deploying     |\n| `npm run astro ...`       | Run CLI commands like `astro add`, `astro check` |\n| `npm run astro -- --help` | Get help using the Astro CLI                     |\n\n## Developing Locally\n\n| Prerequisites                                                                |\n| :--------------------------------------------------------------------------- |\n| [Node.js](https://nodejs.org/) v18.14+                                       |\n| (optional) [nvm](https://github.com/nvm-sh/nvm) for Node version management  |\n| [Netlify account](https://netlify.com/)                                      |\n| [Netlify CLI](https://docs.netlify.com/cli/get-started/).                    |\n| [Supabase account](https://supabase.com/)                                    |\n\n### Set up the database\n\nTo use this template, you’ll need to set up and seed a new Supabase database.\n\n1. Create a new Supabase project.\n2. Run the SQL commands found in the `supabase/migrations` directory in the Supabase UI.\n3. To seed the database with data, you can import the contents of the `supabase/seed.csv` file in the Supabase UI.\n\nℹ️ _Note: This template was created to be used with the Supabase extension for Netlify. If you don’t wish to use the Netlify Supabase extension, you will need to set the `SUPABASE_DATABASE_URL` and `SUPABASE_ANON_KEY` environment variables in the `.env` file._\n\n### Install and run locally\n\n1. Clone this repository, then run `npm install` in its root directory.\n\n2. For the starter to have full functionality locally, please ensure you have an up-to-date version of Netlify CLI. Run:\n\n```\nnpm install netlify-cli@latest -g\n```\n\n3. Link your local repository to the deployed Netlify site. This will ensure you're using the same runtime version for both local development and your deployed site.\n\n```\nnetlify link\n```\n\n4. Then, run the Astro.js development server via Netlify CLI:\n\n```\nnetlify dev --target-port 4321\n```\n\nIf your browser doesn't navigate to the site automatically, visit [localhost:8888](http://localhost:8888).\n\n## Support\n\nIf you get stuck along the way, get help in our [support forums](https://answers.netlify.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify-templates%2Fastro-supabase-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetlify-templates%2Fastro-supabase-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetlify-templates%2Fastro-supabase-starter/lists"}