Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET cohorts | Route #14

Closed
3 tasks done
rehabas opened this issue Mar 26, 2020 · 0 comments
Closed
3 tasks done

GET cohorts | Route #14

rehabas opened this issue Mar 26, 2020 · 0 comments
Assignees

Comments

@rehabas
Copy link
Collaborator

rehabas commented Mar 26, 2020

relates #5

Route: GET api/v1/cohorts

Acceptance Criteria

  • DB query
  • Response
  • Testing

DB query

SELECT * FROM cohort;

Response

  • Success
{ StatusCode: 200,
  data: [{
          id,
          name,
          description,
          imgUrl,
          githubLink
        }]
}
  • Failed
{statusCode:400, message:"Bad Request"}

Testing

to be a successful test

  • status === 200
  • typeof(data) === "array"
  • data.length !== 0
@ranasobeid95 ranasobeid95 removed the EPIC label Mar 26, 2020
@rehabas rehabas added EPIC and removed EPIC labels Mar 26, 2020
@rehabas rehabas changed the title Cohorts | Route Get cohorts | Route Mar 26, 2020
@rehabas rehabas changed the title Get cohorts | Route GET cohorts | Route Mar 26, 2020
@Mu7ammadAbed Mu7ammadAbed mentioned this issue Mar 26, 2020
3 tasks
AlaaSaadeddin pushed a commit that referenced this issue Mar 30, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 30, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 30, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
@AlaaSaadeddin AlaaSaadeddin added Awaiting Review This PR is ready and waiting for review and removed in progress labels Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Mar 31, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 1, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 1, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 1, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 1, 2020
@AlaaSaadeddin AlaaSaadeddin added Done and removed Awaiting Review This PR is ready and waiting for review labels Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants