Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitin27may/azure-blob-upload-nodejs
Upload files file(images, videos etc) to Azure blob storage and get SAS attached URL, using JavaScript v12 SDK , Nodejs (Expressjs) and Angular 12.
https://github.com/nitin27may/azure-blob-upload-nodejs
angular angular12 azure-blob-storage azure-storage expressjs javascript-v12-sdk nodejs
Last synced: 15 days ago
JSON representation
Upload files file(images, videos etc) to Azure blob storage and get SAS attached URL, using JavaScript v12 SDK , Nodejs (Expressjs) and Angular 12.
- Host: GitHub
- URL: https://github.com/nitin27may/azure-blob-upload-nodejs
- Owner: nitin27may
- License: mit
- Created: 2020-07-26T02:34:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T07:54:08.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T23:46:28.310Z (almost 2 years ago)
- Topics: angular, angular12, azure-blob-storage, azure-storage, expressjs, javascript-v12-sdk, nodejs
- Language: TypeScript
- Homepage:
- Size: 3.54 MB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Blob file Upload (JavaScript v12 SDK - @azure/storage-blob)
This is a sample project for uploading (images, videos etc ) using JavaScript v12 SDK (@azure/storage-blob) in Node.js and get a SAS url to access the files.We have used Angular 15.0.3 for the for frontend (Drag and Drop) and expresjs to expose rest apis to upload file and get SAS token attached URLs.
## Getting started
1. Clone the project (you can download too) and run `npm install` in frontend and api folders to install all depndencies.
2. Navigate to api folder. Rename `.env.example` to `.env` and add your Azure storage details (Storage account name, key also add connection string).
3. Run `npm run dev-server` in frontend and api folder. It will start both frontend and api in development mode.
```
git clone https://github.com/nitin27may/azure-blob-upload.gitcd azure-blob-upload/api
npm i
npm run dev-servercd azure-blob-upload/frontend
npm i
npm run dev-server
```