# 茉咔星 **Repository Path**: bingli256/moka-star ## Basic Information - **Project Name**: 茉咔星 - **Description**: Moka - 图像分享社交平台 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-17 - **Last Updated**: 2026-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Moka - 图像分享社交平台 📋 项目概述 Moka-Star 是一个基于 Spring Boot + Vue.js 的现代化图像分享社交平台,提供用户注册登录、图像上传管理、评论互动等核心功能。项目采用前后端分离架构,后端提供 RESTful API,前端使用 Vue 3 构建现代化用户界面。 在线体验 [moka123.cn](http://moka123.cn/) ![输入图片说明](Snipaste_2026-01-16_20-14-16.png) 🏗️ 技术架构 后端技术栈 框架: Spring Boot 3.5.6 数据库: MySQL 8.0.33 ORM: MyBatis-Plus 3.5.7 认证: Sa-Token 1.44.0 缓存: Redis (Spring Data Redis) 消息队列: RabbitMQ 文件存储: AWS S3 兼容对象存储 (雨云) 图片处理: Thumbnailator 0.4.20 构建工具: Maven 3.11.0 前端技术栈 框架: Vue 3.5.18 UI 组件: Element Plus 2.11.1 路由: Vue Router 4.5.1 HTTP 客户端: Axios 1.11.0 状态管理: Pinia 3.0.3 构建工具: Vite 7.0.6 ``` server: port: 8081 servlet: context-path: /api spring: application: name: moka-image-site datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/moka?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&characterEncoding=UTF-8 username: password: jackson: time-zone: Asia/Shanghai date-format: yyyy-MM-dd HH:mm:ss servlet: multipart: max-file-size: 10MB max-request-size: 10MB data: # redis配置 redis: database: 1 host: 127.0.0.1 port: 6379 password: timeout: 10s lettuce: pool: max-active: 200 max-wait: 5000ms # 建议设置合理上限 max-idle: 10 min-idle: 5 # 建议设置最小空闲连接数 rabbitmq: host: 127.0.0.1 port: 5672 username: guest password: guest logging: level: root: info moka.cn: debug file: name: logs/moka.log mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl # 建议使用 SLF4J 日志框架 ############## Sa-Token 配置 (文档: https://sa-token.cc) ############## sa-token: token-name: satoken timeout: 2592000 active-timeout: -1 is-concurrent: true is-share: false token-style: uuid is-log: true debug: true ################ 上传文件配置 ##############用的雨云对象存储############# rainyun: s3: access-key: secret-key: bucket-name: endpoint: cdn-domain: ```