This guide walks you through every step needed to run Floralé on your local machine: cloning the repository, installing packages, connecting to a Supabase project, seeding the database schema, and starting the Next.js development server. The entire setup takes less than ten minutes assuming you already have Node.js ≥ 18 and a Supabase account.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dlampatricio/florale/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin, make sure you have a Supabase project created. If you haven’t set one up yet, follow the Supabase Setup guide for a full walkthrough — including how to obtain your project URL, anon key, and service role key.
Clone the repository
Open a terminal and clone the Floralé repository, then change into the project directory:
Install dependencies
Install the project’s npm dependencies using your preferred package manager:This installs Next.js 16, React 19, Tailwind CSS v4, Supabase JS, Zustand, Framer Motion, and all other dependencies listed in
package.json.Configure environment variables
Create a
.env.local file at the root of the project and populate it with the three required environment variables from your Supabase project dashboard:.env.local
Set up the Supabase database
Floralé ships with a complete SQL schema file at
supabase-schema.sql. This script creates the categories and products tables, adds the required indexes, enables Row Level Security, defines all read/write policies, creates the product-images Storage bucket, and seeds the database with the initial product catalog.To run it:- Open your Supabase Dashboard.
- Select your project and navigate to SQL Editor.
- Click New query, paste the entire contents of
supabase-schema.sql, and click Run.
Start the development server
Start the Next.js development server:Once the server is ready, open http://localhost:3000 in your browser. You should see the Floralé landing page with the animated logo and an “Entrar a la Tienda” button that links through to the product catalog at
/catalogo.