Git Product home page Git Product logo

qna's Issues

BE - API get all answers return wrongs

Expected:
API get all answers return all the answer of the question have questionId was send from front-end
Actual:
API get all answers return ALL OF THE ANSWER in database

BE - Admin API

  • Quản lý monitor:
    Tạo account monitor
    Nâng quyền user nào đó lên monitor
  • Quản lý bài đăng:
    Xoá bài (Ẩn bài)
  • Kiểm duyệt (monitor cũng có quyền này):
    Question
    Tag create request
    Cảnh cáo user
  • Quản lý user:
    Tạo account
    Ẩn account
    Thống kê số lượng câu hỏi, tag, quý: theo tháng, quý, năm
    Thống kê tần xuất hoạt động của user (user có tương tác với câu hỏi hoặc câu trả lời)
    quyền monitor:
  • Trả lời câu hỏi
  • với quyền kiểm duyệt ở trên
    tạo thông báo global
    Note: Nghiệp vụ của mình phụ thuộc vào rất nhiều vào admin và user. flow phức tạp và ăn điểm nhất của mình la Kiểm duyệt.
    Kiểm duyệt:
    Tags:
  • User tạo tag => tag đc tạo(*) => thêm vào câu hỏi của user sau khi đc kiểm duyệt
    *: monitor tiến hành nghiên cứu nội dung và chỉnh sửa tag đồng thời chỉnh sửa lại cho nó giống nhau kiểu "react-js" và "reactjs", chỉ có monitor và admin có quyền chỉnh sửa tag
    Answer:
  • Monitor kiểm duyệt câu hỏi => monitor tiến hành cảnh cáo (3 lần cảnh cáo sẽ bị phạt) => hình phạt sẽ đc gửi về mail đăng kí của user và thông báo trong lúc đăng nhập

BE-Respose API Login

Trả thêm toàn bộ thông tin user + access và refresh token để lưu vào session của next

Login API

Create Login API

  • Database Login
  • API

BE - Comment, Tag

  • Add numberAnswer in question items
  • Add state vote
  • Change message error
  • Tag
  • Comment

BE - Add `isApproved` for answer

Add isApproved to answer item, if the answer is approved move it to the top of the list

isApproved is when the author of the question find that the answer is resolved their issues

BE - User manager

  • Add role monitor.
  • Get user.
  • Block user.
  • Create user.
  • Add up role user.

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.