aceleradora-TW / aceleradora-TW/acelera-mais-api

[O2] Suporte a paginação: Endpoint Mentora Avaliadora

Đang mở
#232 0 bình luận 0 reaction 2 người được giao Được @JeanCastilhos2 nhận Xem trên GitHub
BACK-END Nv: Difícil
Ngôn ngữ chính
TypeScript
Star
9
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Critérios
======
- O endpoint /user deve fornecer suporte a paginação por meio de Query

Contrato API
====

Requisição : GET "/user?page=(pagina atual)"
Resposta:
{
message: "Informações encontradas com sucesso."
data: {
users: [ usuários ]
count: (Numero usuários encontrados no banco)
}
}

Notas Técnicas:

Documentação TypeORM https://orkhan.gitbook.io/typeorm/docs/find-options

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Locate the GET /user entry point and its TypeORM query, then read TypeORM's find-options pagination documentation. Done means the endpoint accepts the documented page query and returns users with the total count in the specified response shape.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
api, databases
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.