Coder Social home page Coder Social logo

kayak-backend's Introduction

Hi there 👋

profile-details repos-per-language most-commit-language stats productive-time

kayak-backend's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

kayak-backend's Issues

分区的后端实现

分区设置

对题库以及学习小组进行以下分区设置

type从0开始,“其他”分区的type定为100,方便中间加新的分区类型

  • 计算机
  • 经济金融
  • 电子信息
  • 数学
  • 生物
  • 医学
  • 物理
  • 化学
  • 历史
  • 建筑
  • 交通
  • 人文社科
  • 外语
  • 体育健康
  • 公务员
  • 教师
  • 天文学
  • 地理
  • 政治
  • 其他

新增收藏题目以及错题相关的请求

在已有的返回收藏题目id/错题id API的基础上,新增一个请求,它能够获取包含这些题目的题库的id,以及用户在该题库中已收藏题目/错题的数量,对应id列表。id列表暂时不急。
例如,用户A在题库B中收藏了三道题P1,P2,P4,在题库C中收藏了两道题P6,P7,同时P1被题库B和D收录且仅被这两个题库收录,其他题目只存在于单一题库中,通过调用这个API,需要返回的信息是:
题库B的id star_number:3 problemID_list:[1,2,4](P1,P2,P4的id 列表)
题库C的id star_number:2 problemID_list:[6,7] (P6,P7的id 列表)
题库D的id star_number:1 problemID_list:[1](P1的id 列表)

添加笔记功能的接口

我看前端的笔记功能已经做好了?

需要赶紧添加一下笔记功能的接口配合前端测试?

搜索功能

新增搜索功能:根据name搜索,题库,小组,笔记,考虑到效率问题,需要提供分类,麻烦写成三个接口

点赞数,收藏数作为表项

如题,把点赞数和收藏数的维护分散给每一次点赞,收藏操作
应该能大幅度优化速度,同时也能优化下代码
需要这么做的就只有problem、problemset、note、discussion

能否更改一下/note/create接口

/note/create接口可不可以在提交时多填加一项笔记相关的题目id列表,因为创建时有可能用户就会选择相关的题目,但是笔记这个时候还没有id

完善题库相关的接口请求

请在user/problemset和user/favorite/problemset里面返回题库的信息,包含:题库名称,创建时间,题库中题目数量,题库id

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.