Local Environment
Overview
Please follow the guide in the provided order.
This section will guide you through the initial setup and installation process on your local machine. You will install dependencies, configure environment variables, connect third party services, set up the database, and start the development server.
Getting Started
Install Node.js, pnpm, and project dependencies
Environment Variables
Create your .env file with all required keys
Astria
Connect the AI model training and headshot generation API
Resend
Set up transactional emails for auth and notifications
Payment Gateways
Configure Stripe, PayPal, and Razorpay in sandbox mode
Database
Create tables, enable RLS, and connect SMTP on Supabase
Google Analytics
Add tracking to monitor traffic and user behavior
Starting Server
Run the development server and verify everything works
Stopping Server
Shut down the development server when you are done