willwebberley / NodeDirectUploader

Companion code for the direct-to-S3 uploads Node.js article on Heroku's Dev Center
https://devcenter.heroku.com/articles/s3-upload-node
234 stars 110 forks source link

angular2 #15

Open davidmarjanac opened 7 years ago

davidmarjanac commented 7 years ago

Is there option with angular 2 in frontend and node js in backend

willwebberley commented 7 years ago

Hi, the code in this repository is written in plain ES6 JavaScript. The back-end is in Node, as you ask, and the front-end code could be easily refactored to fit inside your Angular app

davidmarjanac commented 7 years ago

is there an example...thanks on response

willwebberley commented 7 years ago

Unfortunately there is no Angular 2 example in this repository. As I said, the code here is mainly just to illustrate the process rather than to apply it to any particular framework, and it should easily be translatable into an Angular app (though in such an app you may wish to take advantage of Angular's own Http class).

If you want to learn Angular, then I suggest you follow the tutorial: https://angular.io/guide/quickstart. Once you've got a greater understanding of it then fitting in the mechanism from this repo should be straight forward :)