This document provides an overview of the deployment setup, environments, and required environment variables for the project.
.env.local
.env.production
Variable | Example Value | Description |
---|---|---|
PUBLIC_FRONTEND_URL |
http://localhost:5173 |
The frontend URL (local in dev, production domain in prod). |
PUBLIC_STRAPI_API_URL |
http://localhost:1337 |
Base URL for backend API calls. |
PUBLIC_PAYPAL_CLIENT_ID |
xxxx |
PayPal client ID for payment integration. |
ā
Make sure to configure the correct .env
file for your environment before running or deploying the project.