Skip to content

domey-afrilogic/file-uploader-az

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Uploader Service

This service handles file uploading to azure storage blob. It consists of a three endpoints with which one of them allows you to submit a file and then get a response url.

Quickstart

  1. Clone server repository by copying the link and then cloning locally
git clone 	git@github.com-afrilogic:domey-afrilogic/file-uploader-az.git
cd file-uploader-az
  1. Install Dependencies.
yarn
  1. Add Environment Variables
  • Duplicate .env.example and then add your variables:
  1. Start Service.
  • For Development Mode
yarn dev or npm run dev
  • For production mode
yarn start or npm start
  1. **Access the upload endpoint via.
localhost:5000/upload :POST and req.body.image will take the file as form-data