Samagra-Development / workflow

Workflow is an Open Source project aimed towards the creation of data flow models using config files thereby allowing you to easily create and interact with stateful applications with minimum setup.
https://samagra-development.github.io/workflow
5 stars 28 forks source link

Support File Upload #10

Closed ChakshuGautam closed 1 year ago

ChakshuGautam commented 1 year ago

Description

Upload all files to Minio and share the link of the file as part of formData. The file upload API will be part of the form-manager service. All files will be uploaded to https://cdn.samagra.io.

formData files would be identified as

{
    "selfie": {
        "type": "file",
        "data": "base64 string"
    },
    "name": "nameOfThePerson"
}

will be converted to

{
    "selfie": "https://cdn.samagra.io/pathOfTheFile"
    "name": "nameOfThePerson"
}
amit-s19 commented 1 year ago

done