SpringBoot+Vue的项目实践(订餐系统1)
一、背景
在公司做有关云方面的工作,好久没有写有关业务的代码,趁着这个机会写一下,项目实时更新。
二、有关准备
软件:IDEA、Hbuilder X、MySQL、Navicat 架构设计:SpringBoot+Vue
三、搭建项目
3.1后端
application.yml的配置如下
spring:
datasource:
name: os1
url: jdbc:mysql://localhost:3306/diningsystem?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
enabled: true
max-file-size: 20MB
max-request-size: 200MB
mybatis:
mapper-locations: classpath:Mapper/*.xml
type-aliases-package: com.example.demo.pojo
server:
port: 8888
3.2前端
前端框架使用Hbulider X自己可以配置一下,这里就不做过多介绍了,很简单,但是要下载一个Node.js。
