A backend REST API microservices that can be used to accept files (media, pdf, docs, .zip) submission from user as an input.
The Overview of the app
-
Upload files
Method: POST
Endpoints: "/user"
-
Get uploaded file for a user
Method: GET - "/user/userId"
-
Update uploaded file
Method: PUT - "/user/imageId"
-
Delete uploaded file
Method: DELETE - "/user/imageId"
Cloudinary:
For this project Cloudinary is used as the cloud storage platform where the images or files are stored. When the image is stored on Cloudinary, we get a image_url and image_id as our response.
Multer:
Multer is a nodejs npm package and it is used as a middleware to handle multipart/ form-data that is to handle uploading of files.
MongoDB:
MongoDB is used as the database.
Other packages:
Express.js, Dotenv, Mongoose.