Similarly to the Angular Generator, the WeChat MiniProgram Generator can divide the application as follows:
- Front-end, to be uploaded to the platform to start the approval process and provisioned by WeChat.
- REST Services, to be deployed to an Application Server.
- Database.
Make sure you have a WeChatt AppId from the platform, private key and everything is configured correctly from the IDE.
Thoroughly test the application, when is ready you could use the Upload button from the WeChat Mini Program IDE or execute:
cd <KBName>\<TargetEnvironmentFolder>\mobile\WeChatMiniProgram\<MainObject>
npm run upload
Start a review process from the platform using the account associated to your Mini Program. In general, it takes 1-7 business days.
Once the process is successful, you can download the QR codes and materials to share with your users.
Create a Deployment Unit object with your Main object and deploy the services like described in Application Deployment tool.
See Export Reorganization for more information.