A
astro-supabase-netlify
About astro-supabase-netlify
astro-supabase-netlify is an Astro starter template integrating Supabase, intended for developers building and deploying a site with these technologies. It includes environment setup and Netlify deployment instructions.
Key features
- 01Astro and Supabase integration
- 02Supabase credentials via .env
- 03npm install and build scripts
- 04Netlify deployment command
Use cases
- 01Starting an Astro project with Supabase
- 02Building and deploying through Netlify
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rebyteai-template/ rebyte-skills --skill astro-supabase-netlifyAfter installing, type/astro-supabase-netlifyin Claude Code to confirm it loaded.
Details
From the project READMEAstro + 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
Comments
Markdown supported