Skip to content

changmen/online_store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Store

这是一个基于Spring Cloud的在线商店项目。

技术栈

  • JDK 17
  • Spring Cloud 2022.0.4
  • Spring Boot 3.1.5
  • MyBatis 3.0.2
  • MySQL 8.0
  • Redis (Jedis 4.3.1)

项目结构

online-store/
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com/
│   │   │       └── example/
│   │   │           └── onlinestore/
│   │   │               ├── OnlineStoreApplication.java
│   │   │               ├── controller/
│   │   │               ├── service/
│   │   │               ├── mapper/
│   │   │               └── entity/
│   │   └── resources/
│   │       ├── application.yml
│   │       └── mapper/
│   └── test/
├── pom.xml
└── README.md

运行要求

  • JDK 17或更高版本
  • Maven 3.6或更高版本
  • MySQL 8.0
  • Redis 6.0或更高版本

如何运行

  1. 确保MySQL和Redis服务已启动
  2. 创建数据库:
CREATE DATABASE online_store DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
  1. 修改application.yml中的数据库和Redis配置
  2. 添加vm参数:--add-opens java.base/java.lang=ALL-UNNAMED
  3. 运行应用程序:
mvn spring-boot:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published