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:
| Key | Semantic | Usage | Required |
|---|---|---|---|
| path | the path where the given module customization is | local development, production build | true |
| port | the port where the module will be available | local development | true |
| cli | an argument to override the module CLI being used | local development, production build | false |