Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Jason-AML/MonzaSport-Nextjs/llms.txt

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

Monza Motors is a luxury automotive e-commerce platform where customers discover, explore, and purchase high-performance cars and motorcycles. Built with Next.js 15 App Router, it integrates Supabase for authentication and real-time data, Stripe for payments, and a Groq-powered AI assistant that knows your entire vehicle catalog.

Quickstart

Clone the repo, configure environment variables, and run locally in minutes.

Environment Variables

Full reference for every required and optional environment variable.

Core Features

Explore the vehicle collection, authentication, checkout, and AI chat features.

API Reference

Document every internal API route and service function.

What’s Inside

Monza Motors ships as a single Next.js application with a clear separation between server-rendered data fetching, client-side interactivity, and backend API routes.

Vehicle Collection

Browse and filter cars and motorcycles by price range and model year.

Authentication

Email/password auth via Supabase with SSR session management.

Stripe Checkout

One-click vehicle purchase with Stripe’s hosted checkout flow.

AI Chat Assistant

LLaMA-3.3-70b powered assistant that answers questions about the catalog.

Bilingual UI

English and Spanish support with i18next and browser language detection.

Deploy to Vercel

One-command deployment to Vercel with all integrations pre-wired.

Get Up and Running

1

Clone and install

Clone the repository and install dependencies with your preferred package manager.
2

Set environment variables

Create a .env.local file and fill in your Supabase URL/keys, Stripe secret key, and Groq API key.
3

Set up Supabase

Create the vehiculos, fabricas, messages, and stored tables in your Supabase project.
4

Run the development server

Start the app with npm run dev and open http://localhost:3000.
Monza Motors uses the Next.js App Router throughout. All pages under src/app/ follow the App Router conventions — page.js, layout.js, loading.js, and route handlers live alongside each other in route segment folders.

Build docs developers (and LLMs) love