Repository navigation
Getting Started
Oussama Elhadji edited this page Oct 25, 2026
·
6 revisions
This document walks you through setting up and running the Les Ambassadeurs du Bien web application locally.
-
Node.js:
>= 20.x(LTS recommended) -
npm:
>= 10.x -
Git:
>= 2.x - Supabase Project: Active project with database schema and RLS policies configured.
-
Clone the repository:
git clone https://github.com/Bosaj/les-ambassadeurs-web.git cd les-ambassadeurs-web -
Configure Environment Variables: Copy
.env.exampleto create your local.envfile:cp .env.example .env
Provide your specific keys:
# Public client-side variables (bundled into browser) VITE_SUPABASE_URL=https://mimfwguttesvrmejlibq.supabase.co VITE_SUPABASE_ANON_KEY=eyJhbGciOi... VITE_STRIPE_PUBLISHABLE_KEY=pk_test_... # Serverless & Administrative Secrets (NEVER committed to git) SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOi... STRIPE_SECRET_KEY=sk_test_... PAYPAL_CLIENT_ID=your_paypal_client_id PAYPAL_CLIENT_SECRET=your_paypal_secret
-
Install Dependencies:
npm install
-
Start Development Server:
npm run dev
Open http://localhost:5173 in your browser.
| Command | Purpose |
|---|---|
npm run dev |
Launches local Vite development server with Hot Module Replacement. |
npm run build |
Compiles optimized production bundle into dist/. |
npm run lint |
Checks JavaScript and JSX code quality with ESLint. |
npm test |
Runs unit test suites with Vitest in watch mode. |
npm test -- --run |
Executes all test suites once for CI validation. |
npm run preview |
Serves the local dist/ production build. |
Production Web App: https://a-a-b-v.netlify.app/
Official Email: asosoufaraelkhir48@gmail.com | GitHub Repo: Bosaj/les-ambassadeurs-web
Facebook β’ Instagram β’ X (Twitter) β’ LinkedIn β’ WhatsApp
Platform developed & maintained by Oussama ELHADJI β All Rights Reserved Β© 2026