Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.07 KB

File downloader API to download files from Azure storage account as stream.

Prerequisite

Create .env file from .env.example template file. Add the Azure connection settings in environmental file.

Getting Started

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the server running.

image

API info

Call the API with GET request directly from browser or postman

http://localhost:3000/api/downloadFile?id=<containername>&files=<["file1"]>
http://localhost:3000/api/getFiles?id=<containername>

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.