Giter VIP home page Giter VIP logo

go-tiktok-lite's Introduction

go-tiktok-lite

Simple version of tiktok backend implemented in golang

APIs

Method Path Description
GET /douyin/feed 无需登录,返回视频列表
POST /douyin/user/register 注册接口,提供用户名和密码
POST /douyin/user/login 登录接口,提供用户名和密码,返回用户id和token
POST /douyin/publish/action 视频投稿
GET /douyin/publish/list 登录用户发布的视频列表
POST /douyin/relation/action 登陆用户或其他用户进行关注或取消关注
GET /douyin/relation/follow/list 登陆用户关注的所有用户列表
GET /douyin/relation/follower/list 所有关注登陆用户的粉丝列表
POST /douyin/favorite/action/ 登录用户对视频的点赞和取消点赞操作。
GET /douyin/favorite/list/ 登录用户的所有点赞视频
POST /douyin/comment/action/ 评论操作
GET /douyin/comment/list/ 查看视频的所有评论,按发布时间排序

go-tiktok-lite's People

Contributors

cyzh1307 avatar fifcom avatar kuan525 avatar

Stargazers

 avatar  avatar

Watchers

 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.