Upload Files To Node.js Using Angular 2


By - Nic Raboy

When I build web applications, my least favorite part is always in the realm of file uploads.  They are often complicated to do and take a lot of time.  Pretty much every web application lately, regardless of what it is, requires file uploads, even if it is just to upload a profile picture.

Since I’m all about Angular 2 lately, I figured it would be great to show how to upload images (or any file) to a back-end.  In this particular example I’m using Node.js.


Some things to be clear about up front.  At the time of writing this, Angular 2 is in beta version 3.  The Angular team claims that no breaking changes will be introduced in the betas, but I figured it is best we lay it out on the table that it could be a possibility.  I also want to be clear that a lot of this code was co-produced with a friend of mine, Todd Greenstein.

Read the full article ....

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment