craveup) bootstraps a production-ready storefront in a few minutes. It installs dependencies, wires environment variables, and can even start the dev server for you.
Install & run
Run the CLI anywhere you want to create the project directory:- Choosing a template (default, Tomodashi Sushi, Xichuan Noodles, or a custom Git repo)
- Authorizing with the Crave dashboard to obtain an API key
- Naming the project directory
- Installing dependencies with your detected package manager
- Optionally starting
pnpm devso you can preview immediately
Non-interactive usage
Prefer automation or CI pipelines? Use flags to skip prompts.| Flag | Description |
|---|---|
--template <id> | Force a template (default, tomodashi-sushi, xichuan-noodles, or a Git URL) |
--dir <name> | Set the target directory name |
--api-key <key> | Provide the API key up front |
--skip-install | Scaffold files without running the package manager |
--force | Overwrite an empty directory without confirmation |
Environment variables
The CLI creates.env.local with placeholders. Update them before running the app:
Tip: keep separate API keys per environment. The CLI respectsCRAVEUP_DASHBOARD_URLandCRAVEUP_PARTNER_API_URLif you need to point at staging.
Project anatomy
Every template ships with:- Next.js 15 + App Router for modern server-first rendering
@craveup/storefront-sdkpreconfigured insrc/lib/storefront-client.ts- Typed API helpers co-located with app routes
- Component library for menu browsing, cart management, and checkout