Resource Profile:
This set ofThinkPHP 5.1 + UniApp + MySQL5.7 architecture to build the circle of friends social program source code, its main feature is compatible with HTML5 platform. In order to ensure the efficiency of storage, we have chosen the Seven Bulls cloud service for image compression; however, the background management is still in the primary stage, and will be further supplemented and improved.
The program is especially suitable for those developers who have an understanding of the MVC design pattern , it is based on ThinkPHP and Uniapp's excellent combination of research and development . Although it is not yet completely perfect, it is still valuable for beginners to learn and learn from, and can also be used as a model for secondary development of new community features such as running errands, payments, and so on. We have added numerous comments to the code to help you better understand what each part does and how it is implemented.
As the core technology of this project, we use MVC design pattern for the logic layer coding, at the same time, we use Uniapp and with Uview-UI framework for the front-end development, which makes the interface more beautiful. As for the main functions, they include: posting news (involving text entry, image or video uploading, geo-tagging, and category selection); displaying the front page; liking, favoriting, rating, and in-depth replying; following, deleting, and complaining; viewing user information and revealing their postings; checking our postings and favorites; setting options (including modifying personal information); logging in and registering for an account; and searching for dynamic applications. and searching for dynamic applications.
Photo Gallery:
Installation and usage instructions:
Importing the database
/community/community.sql
Modify the back-end code
/config/database.php
‘hostname’ => ”,
// Database name
‘database’ => ”,
// Username
‘username’ => ”,
// Password
‘password’ => ”,
// Port
‘hostport’ => ”,
How to deploy a server thinkphp project on their own Baidu bar
Modify the front-end code
/config/config.js
apiBaseUrl: ”http://域名/api/”,
Change to your own domain name
Open the HbuilderX tool (no self Baidu download), the
Import the front-end source code directory and select Release - Site Release in the top navigation
When you're done, put the directory file in the public/app folder under the backend thinkphp project
Then you can see that the deployment was successful
- Can free downloads or VIP member-only resources be commercialized directly?
- The resources on this site are collected and organized through the network, for personal research and study purposes only. The copyright belongs to the legal owner of the software and program code, users should verify the copyright and legality of the resources, prohibited for commercial use, illegal activities or any violation of national laws and regulations.
- Disclaimer of liability for program or code bugs, compatibility issues or functional defects, etc.
- As the resources on this site are collected and organized through the network, not the site's original, it can not fully guarantee its functionality or code compatibility. Users need to verify whether the resources meet the needs of their own, due to the following circumstances lead to losses, this site does not assume any responsibility:
Programs, source code and other computer software resources may contain code vulnerabilities (bugs), compatibility issues or functional defects left by the developer. This site does not provide free repair services for such technical defects, users need to bear the risk of debugging, modification or abandonment of the use.




