
This application gives you the minimum setup to develop and launch a working Merchant Center application.
$ npm install --global @commercetools-frontend/create-mc-app
$ create-mc-app my-new-custom-application-project --template starter
# or
$ npx @commercetools-frontend/create-mc-app my-new-custom-application-project --template starterThe custom-application-config.json is configured to use the HTTP APIs in the GCP-EU region. If you plan to run the Custom Application in another environment, change the cloud identifier accordingly.
Run the following command to start the development server and launch the application:
$ yarn startRun the following command to run the tests:
$ yarn test
$ yarn test:watchRun the following command to build the production bundles with webpack:
$ yarn buildThe custom-application-config.json has a env.production configuration object. When you're ready to deploy the application to production, make sure to provide the URL where the Custom Application is hosted.
We only provide the minimal scripts and tooling to start, test, and build the application. If you want to add more development tooling such as linters, prettier, etc. you need to provide those on your own.
You can have a look at our setup in the merchant-center-application-kit repository to help you getting set up.