caio-imperial / caio-imperial/PHOTO-SITE-API

Uploading images into the folder.

Open
#1 0 comments 0 reactions 1 assignee Claimed by @caio-imperial View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Objective

Implement functionality that allow users to upload image files. The images should be stored in a specified folder in the mongoDB.

# Requirements:

- allow users to upload image files.
- Ensure that each image is linked to its folder by storing a folder_id in the database.

# Steps to Implement:

1. Create a `POST` endpoint `/images/upload`.
2. Accept multipart form data with the image file and metadata fields.
3. Check if the folder_id exists in the folders collection.
4. Link the image to the folder by referencing the folder_id.

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.