Prerequisites
Before you begin, ensure you have the following installed:- Node.js (v18 or higher)
- npm, yarn, or pnpm package manager
- Git for version control
- Supabase CLI (optional, for local development)
Quick Start
1. Clone the Repository
2. Install Dependencies
3. Configure Environment Variables
Create a.env.local file in the root directory:
4. Run Development Server
https://localhost:3000 with HTTPS enabled.
The development server uses a self-signed SSL certificate for local HTTPS. Your browser may show a security warning - this is normal for local development.
Project Structure
Key Dependencies
The project uses the following main dependencies:| Package | Version | Purpose |
|---|---|---|
@supabase/supabase-js | ^2.90.1 | Supabase client |
react | ^19.2.0 | UI framework |
react-dom | ^19.2.0 | React rendering |
framer-motion | ^12.27.5 | Animations |
@react-three/fiber | ^9.4.0 | 3D graphics |
lucide-react | ^0.554.0 | Icons |
qrcode.react | ^4.2.0 | QR code generation |
vite | ^6.2.0 | Build tool |
typescript | ~5.8.2 | Type safety |
Build for Production
dist/ directory.
Preview Production Build
Troubleshooting
Port 3000 already in use
Port 3000 already in use
The app is configured to run on port 3000. If this port is busy, you can:
- Stop the process using port 3000
- Modify the port in
vite.config.tsunderserver.port
SSL certificate warnings
SSL certificate warnings
The development server uses
@vitejs/plugin-basic-ssl for HTTPS. Browser warnings are expected.To trust the certificate:- Chrome: Click “Advanced” → “Proceed to localhost”
- Firefox: Click “Advanced” → “Accept the Risk and Continue”
Supabase connection errors
Supabase connection errors
Ensure your
.env.local contains valid Supabase credentials:VITE_SUPABASE_URLVITE_SUPABASE_ANON_KEY
Next Steps
Environment Variables
Configure all required environment variables
Database Schema
Understand the database structure
Deployment
Deploy to production
Supabase Integration
Learn about Supabase setup