CodeYourFuture / CodeYourFuture/Full-Stack-Project-Assessment

Post new video endpoint

Open
#471 0 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 📅 Week 2 🔌 Backend
Dominant language
JavaScript
Stars
9
Forks
352
PR merge metrics
No merged PRs in 30d

Description

#### HTTP Method: `POST`

#### Route: `/api/videos`

#### Acceptance Criteria

- [ ] There is a `POST /api/videos` backend endpoint to facilitate adding videos to the database.
- [ ] The endpoint generates and attaches a unique ID to each newly added video.
- [ ] The endpoint accepts video data in JSON format (example provided).
- [ ] The endpoint responds with a JSON response that includes the generated id (example provided)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.