This project involves two servers for image upload and storage. The main server receives image uploads and forwards them to an asset server, which stores the image and provides a URL for access. The main server's API includes a POST endpoint to upload images and return their URL.
From the README
Custom-Image-Cloud-Storage This project consists of two servers that handle image upload and storage. The main server allows users to upload an image, which is then sent to an asset server that stores the image and provides a URL for access. Main Server The main server is responsible for receiving image uploads from clients and forwarding them to the asset server. Base URL Endpoints POST /api/storeImage Uploads an image file to the asset server and returns the URL of the stored image. • URL: /api/storeImage • Method: POST • Content-Type: multipart/form-data • Parameters: • imageData (form-data): The image file to be uploaded. • Response: • 200 OK: Returns the URL of the uploaded...
Skills
- JavaScript