Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/moradoadrian/carneroDev/llms.txt

Use this file to discover all available pages before exploring further.

This guide gets you from zero to a running Carnero.Dev development environment. The platform is built on Astro 6 with server-side rendering via the Node.js adapter, backed by Supabase for data persistence and Resend for transactional email.

Prerequisites

Node.js >= 22.12.0 is required — this is enforced in the engines field of package.json. You will also need a Supabase project with a Project URL and anon key, and a Resend account with an API key before starting.

Getting Started

1

Clone the repository

Grab the source code from GitHub and move into the project directory.
git clone https://github.com/moradoadrian/carneroDev.git
cd carneroDev
2

Install dependencies

Install all Node.js dependencies declared in package.json. This includes Astro 6, the Node.js adapter, Supabase JS client, Resend, Tailwind CSS 4, and GSAP.
npm install
3

Configure environment variables

Create a .env file at the project root and populate it with your Supabase and Resend credentials. RESEND_API_KEY is read directly from the environment at runtime; SUPABASE_URL and SUPABASE_ANON_KEY are currently hardcoded in src/lib/supabase.ts and should be replaced with env var references before deploying to production.
SUPABASE_URL=your_supabase_project_url
SUPABASE_ANON_KEY=your_supabase_anon_key
RESEND_API_KEY=your_resend_api_key
See the Environment Setup guide for step-by-step instructions on finding each value and wiring up the Supabase client.
4

Start the development server

Launch the Astro dev server with Hot Module Replacement enabled.
npm run dev
The site is now available at http://localhost:4321.

Available Commands

All project scripts are defined in package.json and are run from the project root.
CommandAction
npm run devStarts the development server with Hot Module Replacement
npm run buildGenerates an optimized production build in /dist
npm run previewPreviews the production build locally
npm run astroDirect access to the Astro CLI
The dev server uses Astro’s server-side rendering mode (output: 'server') with the Node.js standalone adapter, so all API routes like /api/register are fully functional during development — no separate backend process is required.

Build docs developers (and LLMs) love