create-neuron-astro-store
v0.6.0
Published
Scaffold an Astro storefront wired to Neuron Cart — cart, checkout, and orders working in minutes.
Downloads
1,064
Maintainers
Readme
create-neuron-astro-store
Scaffold an Astro storefront wired to Neuron Cart — a working cart, checkout, and order flow in about a minute.
npm create neuron-astro-store@latest my-store
cd my-store && npm install && npm run devNeed an API key? Sign up at cart-admin.neuroncommerce.com/signup. It's free, and new stores start in developer mode — sandbox pricing, mock payments, free shipping — so checkout works end to end before you configure a single provider.
What you get
- Catalog → product page → cart → checkout → order confirmation, all wired
- Prerendered product pages — static HTML off the CDN; only the cart costs a request
@neuron-cart/sdkon the server; the API key never reaches the browser- Prices resolved server-side from your catalog, so a visitor can't post their own
- Cart session in one httpOnly cookie
- Phone verification at checkout when your store asks for it — one-time code, canonical SMS disclosure, and delivery texts on the confirmation page
- Developer-mode banner that disappears by itself when you go live
/cart-admin— a shortcut from your own store to your Neuron Cart admin (noindex, robots-disallowed, linked from nowhere; it redirects to a login and grants nothing on its own)
Options
npm create neuron-astro-store@latest my-store -- --key cs_live_xxx --api https://cart-api.neuroncommerce.com/v1Both are prompted for when omitted, and skipped entirely when stdin isn't a TTY — so it works in scripts and CI.
Docs
MIT © Xumulus Inc.
Neuron Cart™ and Neuron Commerce™ are trademarks of Xumulus Inc. Other product names and logos are the property of their respective owners.
