Home > Article > WeChat Applet > How to deploy the backend code of the mini program
How to deploy the back-end code of the mini program
The mini program code is divided into front-end and back-end.
Front-end code: You need to use "WeChat Developer Tools" to upload it to WeChat official review;
Back-end code: The code directory is generally Under the root directory of wwwroot (here we take Alibaba Cloud Server as an example), there is no clear rule on which directory of wwwroot should be set, because the access path is bound to the domain name, which is completely based on your own needs. to set.
But one thing is that the "URL" path in the mini program's front-end source code must match your domain name URL path.
Deployment method is: upload the back-end code of the mini program to the server wwwroot directory through FTP and other tools.
PHP Chinese website, a large number of free small program development tutorials, welcome to learn!
The above is the detailed content of How to deploy the backend code of the mini program. For more information, please follow other related articles on the PHP Chinese website!