1. Environment Construction
Related environment software: JDK1.8, IDEA, Gradle, MySQL, Navicat (optional, easy to view data)
Briefly describe what is used:
2. According to the above needs, install the environment and import the project
Then you get to the next page:
The options in the red box, one is the default Gradle, the other is the Gradle installed by yourself, but it is recommended to choose to install it yourself.
Next, the project is opened. On the right side of IDEA, there is a Gradle menu, and you can see the startup switch when you click it (PS: Of course, you can also start it with the Main method in the Application ).
Before starting, we need to configure the connected database. My project is configured locally. Everyone's configuration may be inconsistent. The configuration file is in:
There are three environment configurations, and now "application.yml" in the code points to the "dev" configuration file.
Change your database configuration, you can start it~
Through the two startup methods mentioned above, if the console displays the following figure, it proves that the startup is successful:
The above is the main page of the project, the source code address:
Small program front-end introduction address: https://blog.csdn.net/u012888052/article/details/79623292
小程序源码地址:https://download.csdn.net/download/u012888052/10297406
java项目地址Gradle版本(代码中含数据库):https://download.csdn.net/download/u012888052/10342905
项目还需优化、完善,博客写的不完善的地方,还请多多包含~ 错误的地方,还请留言指正。
作者:Happy王子乐
微信:Happy-wjl
QQ:820155406