Skip to content

Storefront Monorepo

The store monorepo is where the customizations for one account’s storefront live.

FastStore does not impose any opinions on tooling around monorepos, as long as the faststore.json file is in the root of the monorepo.

faststore.json

The faststore.json file serves as a guide both for local development, via the @vtex/fsp-cli and for production deployments, via FastStore WebOps.

The root of the faststore.json object contains only a stores key. Inside the stores object, each key should be an account name.

Each account object has at least one of the following keys: checkout, discovery, and sales-app, each mapped to an object. This object, called the module configuration has the following keys:

KeySemanticUsageRequired
paththe path where the given module customization islocal development, production buildtrue
portthe port where the module will be availablelocal developmenttrue
clian argument to override the module CLI being usedlocal development, production buildfalse