This Api let the user to store their medical record in scanned image form over a mongodb cloud platform. which can be further shared by user after auhenticating his account.
npm install
npm start
Base url : https://loalhost:3000
Request Data Format:
{fullName:String, email:String, contact:Number, password:String}
Request Data Format:
{email:String, password:String}
Response:
user credentials in Fromat
{fullName:String, email:String,contact:Number, password:String}
password is hashed using Bcryptjs module.
Request Data Format:
{doc:Buffer,contentType:string}
Doc store the image form of report uploaded by multer in buffer format and contentType is mimetype of image.
Response Data Format:
{img:Base64, type:mimetype}
Return the report image in Base64 type