Skip to content

anilkk/custom-objects-custom-application-project

Repository files navigation

commercetools logo Merchant Center starter application

This application gives you the minimum setup to develop and launch a working Merchant Center application.

Installation

$ 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 starter

Adjust the cloud identifier

The 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.

Start the development server

Run the following command to start the development server and launch the application:

$ yarn start

Run tests

Run the following command to run the tests:

$ yarn test
$ yarn test:watch

Build the production bundles

Run the following command to build the production bundles with webpack:

$ yarn build

Adjust the configuration for production

The 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.

Linting, formatting, and so on

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.

About

commercetools custom objects custom application project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors