carttomealsite

Cart Menu marketing site

A standalone Next.js App Router marketing website for Cart Menu’s upcoming iPhone release.

Run locally

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.

Configuration

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.

Prelaunch checklist

Deploy to Vercel

  1. Push this directory to a repository. In Vercel, select Add New → Project and import it.
  2. Set the Root Directory to cart-menu if it is a subdirectory in that repository. Use the Next.js preset, Node.js 22, and the default build settings.
  3. Add the two public settings in Project Settings → Environment Variables. Set the canonical origin in Production. Leave the App Store variable blank until launch. Deploy. Vercel’s Next.js guide
  4. In Project Settings → Domains, add the chosen domain. Apply the exact DNS values Vercel shows at your DNS provider. Add a redirect for any secondary hostname, confirm DNS and HTTPS, and redeploy if you changed the canonical origin. Vercel’s domain setup guide

App Store Connect and launch checklist

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.

Source map

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.

Search and App Store discovery

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.