Giter Club home page Giter Club logo

drone_news's Introduction

drone_news

The drone_news is both the web server and the administration site for DroneNews, which is developed on MySQL and SpringBoot.

1. APIs

1.1 Login

a) register:用户注册(参数:包含用户信息的封装类)
b) login:用户登录(参数:包含用户信息的封装类)
c) logout:用户退出登录(参数:用户ID)

1.2 News

a) addNews:添加新闻(参数:标题、来源和包含新闻内容的文件)
b) showAllNews:返回所有新闻
c) getHTML:返回新闻内容(参数:新闻ID)
d) hotwords:返回热搜词

1.3 Videos

a) upload:上传视频(参数:用户ID、标题和视频文件)
b) showMyFollow:返回我关注的人上传的视频(参数:用户ID)
c) showMyLike:返回我收藏的视频(参数:用户ID)
d) hotWords:返回热搜词
e) markAsLike:接收用户的收藏请求(参数:用户ID、视频ID和视频作者的ID)
f) markAsDislike:接收用户的取消收藏请求(参数:用户ID、视频ID和视频作者
的ID)
g) addComment:接收用户的评论(参数:评论内容、父评论的ID和当前用户的
ID)
h) getVideoComments:获取某视频的所有评论(参数:视频ID)

1.4 Account

a) uploadFace:上传头像(参数:用户ID和头像文件)
b) queryUser:查询用户信息(参数:用户ID)
c) queryPublisher:查询视频发布者的信息(参数:当前用户ID、视频ID和视频
作者的ID)
d) beYourFans:接收关注请求(参数:用户ID,视频作者ID)
e) dontBeYourFans:接收取消关注的请求(参数:用户ID,视频作者ID)
f) reportIssues:举报用户(参数:包括举报内容的封装类)

2. Database Patterns

image

3. User Interfaces

3.1 Login

image

3.2 Home

image

3.3 Users

image

3.4 Issues

image

3.5 Videos

image

3.6 News

image

image

drone_news's People

Contributors

super262 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.