Getting Started

This guide will help you get everything installed and create your first React Storefront.

Installation (All Platforms)

First, download and install the latest Node.js LTS

  • Node.js 8 LTS (Note: Node v10 has some incompatibility issues as of Oct 8, 2018)

Additional Steps for Windows

The MOOV SDK requires node-sass. In order for npm to successfully install node-sass, you need to globally install windows-build-tools and node-gyp:

npm i -g --production windows-build-tools
npm i -g node-gyp

Creating Your First PWA

Create a new project by installing create-react-storefront and running it:

npm i -g create-react-storefront
create-react-storefront myapp

Then follow the prompts and instructions in the terminal to create your first PWA!

The only mandatory field you must enter is the hostname. You can enter a dummy one for now like

$ create-react-storefront myapp
hostname for production site in moov cloud ›

After that one mandatory option, you can just accept all of the defaults.