# FakeBilibili-Java **Repository Path**: slqf/fake-bilibili-java ## Basic Information - **Project Name**: FakeBilibili-Java - **Description**: 仿B站视频网站后端 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 1 - **Created**: 2024-08-12 - **Last Updated**: 2025-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 项目jdk版本1.8 数据库MySQL 所需中间件: 推荐使用docker进行部署,启动中间件后需修改配置文件中的服务IP地址 1.nacos 安装方式:https://blog.csdn.net/ilvjiale/article/details/129417768 2.redis 安装方式:https://blog.csdn.net/weixin_45821811/article/details/116211724 3.rocketMQ 安装方式:https://blog.csdn.net/Acloasia/article/details/130548105 4.xxl-job 安装方式:https://blog.csdn.net/qq_35716689/article/details/135712797 5.zipkin 安装方式:https://developer.aliyun.com/article/1346865 6.minio 安装方式:https://blog.csdn.net/l848168/article/details/131458698 minio启动后需创建 video video-cover user-cover 三个桶,分别存储视频,视频封面,用户头像 7.ElasticSearch 安装方式:https://www.cnblogs.com/shenhuanjie/p/18085468/docker-installation-and-deployment-elasticsearch-es-detailed-tutorial-zntn2c ES启动后需要创建三个索引 可以进入 **http://localhost:8300/doc.html** 文档中使用 创建es索引 接口来创建索引 也可以直接发请求创建 post请求:http://localhost:8201/search/createIndex 参数如下: ```json { "indexName": "video", "properties": { "video_id": "integer", "video_name": "text", "intro": "text", "cover":"text", "length":"text", "create_time":"date", "author_name":"text", "author_id":"integer", "url":"text", "play_count":"integer", "danmaku_count":"integer", "collect_count":"integer" } } ``` ```json { "indexName": "user", "properties": { "id": "integer", "nickname": "text", "intro": "text", "cover":"text", "fans_count":"integer", "video_count":"integer" } } ``` ```json { "indexName": "history_search", "properties": { "search_word": "text" } } ```