Skip to content

Next project to demonstrate API to download files from Azure storage via stream

License

Notifications You must be signed in to change notification settings

vimalkumartech/file-downloader-api

Repository files navigation

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.

About

Next project to demonstrate API to download files from Azure storage via stream

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published