Skip to content

YuWithYu/pet-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

宠物之家

本项目为宠物服务平台,包含:

  • pet-backend:Spring Boot 后端
  • pet-home-uniapp:uni-app 微信小程序端
  • pet-frontend:管理后台前端端

目录结构

  • pet-backend/ 后端源码
  • pet-home-uniapp/ 小程序源码
  • pet-frontend/ 前端源码
  • database/ 数据库相关文件

开发环境要求

  • JDK 17
  • Maven 3.8+
  • MySQL 8.x
  • Redis 6.x
  • Node.js 18+(前端)
  • HBuilderX(运行 uni-app 小程序)

Redis启动说明(必须先运行redis才启动后端)

  • 运行 Redis 服务
  • start "Redis Server" "C:\Redis\redis-server.exe" (注意:"C:\Redis\redis-server.exe"这个是Redis的启动文件,根据实际情况修改路径)

后端启动说明

后端配置位于 pet-backend/src/main/resources/application.yml:通用基础配置

本地启动

cd pet-backend

mvn clean compile

mvn spring-boot:run

小程序端(uni-app)

目录:pet-home-uniapp

  • 在 HBuilderX 中打开项目
  • 运行到微信开发者工具(或打包)

管理后台

目录:pet-frontend

  • 进入前端目录:cd pet-frontend
  • 安装依赖:npm install
  • 开发启动:npm run serve:rspack
  • 构建:npm run build

小程序端

登陆注册界面

image image image

服务预约

image image image

商品购买

image image image

社区

image image image

消息

image image image

我的

image image image image image image

后台管理端

image image image image image image

About

基于微信小程序的“宠物家”服务平台的设计与实现

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors