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 all videos endpoint #283

Open
3 tasks
bkarimii opened this issue Apr 22, 2024 · 0 comments
Open
3 tasks

Get all videos endpoint #283

bkarimii opened this issue Apr 22, 2024 · 0 comments

Comments

@bkarimii
Copy link
Owner

From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture/Full-Stack-Project-Assessment#463

Dependencies

This issue depends on CodeYourFuture/Full-Stack-Project-Assessment#477 and CodeYourFuture/Full-Stack-Project-Assessment#476 completing first

Context

For this level, you need to design an endpoint that will list all videos. Endpoint designs are usually separated into the HTTP Request Method type and the route that the endpoint should exist on. For a recap on HTTP Request Methods you can read this guide here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

Endpoint Definition

HTTP Method: GET
Route: /api/videos

Acceptance criteria

  • The endpoint successfully connects to the configured database
  • The endpoint fetches and responds with all video records from the database
  • The endpoint returns a status code of 200

Example

Check https://lvl199--cyf-fsa-solution.netlify.app/api/videos for an example implementation of this issue.

@github-project-automation github-project-automation bot moved this to 📋 Backlog in FullStackAssessment Apr 22, 2024
@bkarimii bkarimii moved this from 📋 Backlog to 🔖 Ready in FullStackAssessment Apr 23, 2024
@bkarimii bkarimii moved this from 🔖 Ready to 👀 In review in FullStackAssessment May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant