CodeYourFuture / CodeYourFuture/Full-Stack-Project-Assessment

Get all videos endpoint

オープン
#463 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
🏕 Priority Mandatory 📅 Week 1 🔌 Backend 🧩 Feature
主要言語
JavaScript
スター
9
フォーク
352
PR マージ指標
30日以内にマージされた PR はありません

説明

## Dependencies

This issue depends on https://github.com/CodeYourFuture/Full-Stack-Project-Assessment/issues/477 and https://github.com/CodeYourFuture/Full-Stack-Project-Assessment/issues/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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。