Create the Loyalty Point Extension
In order to start we need to create the basic extension structure including all folders and configuration files. The
sgconnect command will do this for us.
Create a New Extension
Create a new extension using sgconnect.
- Open a Terminal
- Navigate to the application folder which was created in the tutorial Setup your environment
cd extensions/to navigate to the extensions folder of the application
sgconnect extension create
- When asked about the type of extension you plan to create leave frontend and backend selected. Press enter
- Enter the name
@myAwesomeOrganization/loyaltyPoints. The extension name has the following format:
- When asked if the extension needs to run in a trusted environment select
no. Trusted environments will be explained in other tutorials.