Skip to content

Mobile apps · Expo

Grocery delivery app

A delivery app home screen with search, categories, a product grid, a live cart and a checkout summary.
Grocery delivery app starter, as built from its own files
Starter screenshot captured from this template's own web build (react-native-web) in a 390×844 phone viewport. In Codexa you can also open it on your phone with Expo Go.

What you get

A grocery delivery storefront for phones: delivery address and ETA, search, category chips, a two-column product grid with add-to-cart steppers, a floating cart bar and a cart screen with subtotal and delivery fee. The catalogue is in src/data.ts; checkout is not connected to a payment provider.

Files, exactly as copied.

Exactly what is copied into a new project: 17 files, nothing generated.

Raw data: GET /api/v1/templates/expo-grocery

src/cart.ts
src/cart.ts
import { PRODUCTS, type Product } from "./data"; /** Quantities by product id. */export type Cart = Record<string, number>; export function setQuantity(cart: Cart, id: string, qty: number): Cart {  const next = { ...cart };  if (qty <= 0) delete next[id];  else next[id] = qty;  return next;} export function cartLines(cart: Cart): { product: Product; qty: number }[] {  return PRODUCTS.filter((p) => cart[p.id]).map((product) => ({ product, qty: cart[product.id] }));} export function cartTotals(cart: Cart) {  const lines = cartLines(cart);  const items = lines.reduce((n, l) => n + l.qty, 0);  const subtotal = lines.reduce((n, l) => n + l.qty * l.product.price, 0);  return { items, subtotal };}

Remix

Remix this template.

Describe what to change and the agent starts from Grocery delivery app's files. The box is already started for you: finish “Start from Grocery delivery app and …”

Agent ready

Creates a free account first; your idea is carried over.

Dependencies

Documented from the template's package.json. The runtime has a prebuilt dependency set for Expo · React Native, so installs are fast.

  • expo~58.0.23
  • react19.3.0
  • react-native0.88.1
  • react-native-web~0.21.4
  • react-native-safe-area-context~5.11.1
  • @expo/vector-icons^15.0.2
  • @react-native-async-storage/async-storage2.2.0
  • typescript~6.0.3

How it runs

Framework
Expo · React Native
Dev command
npm run dev
Build command
npm run build
Output directory
dist
Port
8081
Entry route
/

Projects run in an isolated sandbox with a live preview. Read the projects documentation for settings, snapshots and deployment.

All templates

Build on Grocery delivery app

Create a free account, start from this template, and ask the AI agent to turn it into your app.