astro-supabase-netlify
Astro with Supabase integration for Netlify.
When & Why to Use This Skill
This Claude skill streamlines the web development workflow by providing a pre-configured starter template for Astro, Supabase, and Netlify. It enables developers to rapidly bootstrap full-stack applications with integrated database support and seamless cloud deployment, significantly reducing initial setup time and boilerplate configuration.
Use Cases
- Rapidly bootstrapping a modern full-stack web application using the Astro framework and Supabase backend.
- Integrating Supabase authentication and database services into an Astro project with minimal manual configuration.
- Automating the deployment of static and server-side rendered (SSR) Astro sites to Netlify's global edge network.
- Setting up a scalable development environment that follows best practices for Netlify and Supabase integrations.
| name | astro-supabase-netlify |
|---|---|
| description | Astro with Supabase integration for Netlify. |
Astro + Supabase (Netlify)
Astro with Supabase integration.
Tech Stack
- Framework: Astro
- Database: Supabase
- Package Manager: npm
Prerequisites
- Supabase project
Setup
1. Clone the Template
git clone --depth 1 https://github.com/netlify-templates/astro-supabase-starter.git .
If the directory is not empty:
git clone --depth 1 https://github.com/netlify-templates/astro-supabase-starter.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Remove Git History (Optional)
rm -rf .git
git init
3. Install Dependencies
npm install
4. Setup Environment
Configure Supabase credentials in .env
Build
npm run build
Deploy to Netlify
netlify deploy --prod
Development
npm run dev