A standalone Next.js App Router marketing website for Cart Menu’s upcoming iPhone release.
Use Node.js 22 and npm. From this directory:
npm ci
cp .env.example .env.local
npm run dev
Open http://localhost:3000. Both variables can be blank locally. Run npm run lint, npm run typecheck, and npm run build for static checks and a production build. Run npm test with Google Chrome installed for route, interaction, and responsive layout checks. TEST_BASE_URL optionally points Playwright at an existing local instance.
| Setting | Value |
|---|---|
NEXT_PUBLIC_SITE_URL |
Public HTTPS origin, such as https://your-domain.com. Used for canonical URLs, social previews, crawler metadata, and the sitemap. Set it on the Vercel production environment. |
NEXT_PUBLIC_APP_STORE_URL |
Leave blank through prelaunch. After the listing is publicly accessible, enter its approved HTTPS apps.apple.com product URL. |
lib/site.ts |
Business identity, contact addresses, original logo and favicon paths, approved policies, verified app features and account deletion instructions. |
The site requires no secrets. Rebuild or redeploy whenever you change a public environment variable.
business.verifiedFeatures and update the related FAQ answers and preview where needed.lib/policies.ts as described below.cart-menu if it is a subdirectory in that repository. Use the Next.js preset, Node.js 22, and the default build settings.| App Store Connect field | URL |
|---|---|
| Marketing URL | https://your-domain.com/ |
| Support URL | https://your-domain.com/support |
| Privacy Policy URL | https://your-domain.com/privacy |
Keep /terms linked from the site. If you provide a custom App Store license agreement, configure that in App Store Connect. Review platform version metadata and app privacy settings.
NEXT_PUBLIC_APP_STORE_URL in Vercel’s Production environment and redeploy.Routes and page styles live in app/, UI in components/, and brand and release fields in lib/site.ts.
Draft text lives in lib/policies.ts and appears on the legal pages with a prelaunch label. Complete the bracketed disclosures using the iOS release and its backend settings. Add the operator name, applicable address and monitored contact details in lib/site.ts. Enter the effective date and set approved: true for each document after review. Before submitting to Apple, make the privacy policy accessible from the app and check the disclosures against the release build and App Store Connect privacy responses. See Apple’s App Review Guidelines.
Set NEXT_PUBLIC_SITE_URL to the public HTTPS origin before deploying. It enables canonical URLs, social previews, the XML sitemap and public indexing. Unapproved policy drafts and Vercel preview deployments use a noindex directive. Set the optional GOOGLE_SITE_VERIFICATION token if using Google Search Console’s HTML tag verification, then submit /sitemap.xml in Search Console. Search Console can report impressions and click-through rates after indexing. Use App Store Connect to check listing visits and downloads after launch.
The production App Store URL activates the primary badge and adds metadata for Safari’s Smart App Banner. The homepage includes WebSite and MobileApplication structured data based on the published product information. Website copy supports traditional search and AI search summaries.