Coder Social home page Coder Social logo

missinglove / douban_movie_plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from humingk/douban_movie_plus

0.0 0.0 0.0 57.36 MB

豆瓣电影Plus 后端 API

Home Page: https://api.doubans.com

License: GNU General Public License v2.0

Shell 0.88% Java 99.12%

douban_movie_plus's Introduction

Build Status

使用方法

开发任务

  • 部分前端页面待开发,包括搜索、影人、场景等页面
  • 后端API接口功能待丰富,包括影人相关、排行榜、分类等功能
  • 音乐模块暂时采用NeteaseCloudMusicApi(数据过多)
  • 知乎搜索接口已升级,请求头部分参数加密方式未知
  • 数据库结构待改进

特别声明

  • 本项目仅供学习交流
  • 免费提供doubans三级域名book,music等解析
  • 本项目有很多需要改进的地方,欢迎大家一起完善这个项目!

开发相关

前端开发 (Vue)

前端仓库

0. fork

1. clone (替换用户名)

git clone -b dev --depth 3 https://github.com/humingk/douban_movie_vue

or

git clone -b dev --depth 3 [email protected]:humingk/douban_movie_vue.git

2. 安装

  • npm

npm install

3. 启动

npm run serve

4. 请提交到dev分支

后端开发 (Spring)

后端仓库

0. 代码规范

1. fork

2. clone (替换用户名)

git clone -b dev --depth 3 https://github.com/humingk/douban_movie_plus

or

git clone -b dev --depth 3 [email protected]:humingk/douban_movie_plus.git

3. 项目导入

  • JDK 1.8
  • Maven 3.6.1

4. RabbitMQ配置

RabbitMQ依赖erlang,注意版本

5. Redis配置

  • Redis下载

  • Redis配置文件 ./doc/config/redis-dev.yml

6. MySQL配置

  • MySQL >= 8.0 下载本地测试数据库 movie_test_8.0.sql
  • MySQL < 8.0 下载本地测试数据库 movie_test_5.x.sql
  • 解压后导入 mysql -uroot -p < movie_test_x.sql
  • MySQL配置文件 ./doc/config/mysql-dev.yml

7. 修改部分配置文件绝对路径

必要:

  • config服务配置 search-locations ./movie-server-config/src/main/resources/bootstrap.yml

  • logback配置 config ./doc/config/logback-dev.yml

  • logback配置文件 log_home ./doc/config/logback-config.xml

非必要:

  • 项目根路径 base-dir ./pom.xml

  • oauth2秘钥 key.location ./doc/config/oauth2-server-dev.yml

  • api文档输出 outPath ./doc/api/smart-doc.json

  • Mybatis通用插件 targetPackage ./movie-dal/src/main/resources/mybatis/generatorConfig.xml

8. NeteaseCloudMusicApi服务 (暂时方案)

./tools.sh

9. zipkin服务 (非必要)

./tools.sh

10. server启动顺序

eureka -> config -> zipkin(可选) -> server list -> gateway

11. 测试

本地测试前请启动euraka和config服务

mvn test

12. 请提交到dev分支

特别感谢

豆瓣电影 IMDB 网易云音乐 片场
知乎 NCMApi smart-doc aplayer
OMDB 烂番茄 MTC

douban_movie_plus's People

Contributors

humingk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.