In this post, we will see how to setup protractor and run a few E2E tests. First, We are going to scaffold an Angular application using Yeoman and then add Protractor tests to them (as of today, there are no E2E tests included in generator-angular, in future if they do get included, you can still follow this post).
Special thanks to my dear friend Ali Baig for helping me better understand Selenium and Webdriver.
In this post, we will take a look at the basic concepts of Koa and Monk. Then we will scaffold a new Koa Monk project using a Slush (A Scaffolding tool like Yeoman, but uses Gulp for task management) generator named slush mongo written by Antonio & me.
Uploading files made fun with Express js and Blueimp file upload
In this post, we are going to upload stuff to the server (yeah!!). We will use Express js as our server and Blueimp jQuery file upload plugin to perform the operations.
We will leverage a Node package named blueimp-file-upload-expressjs (written by me). There is already a middleware available, but I wanted to write one on my own, with a few more options. BTW, this is not a middleware, it’s just a plug and play code.
The final result will be
You can take a dig at this demo here. And you can find the complete code here.
Credits : I have not written any local/server file upload code from scratch. I have taken the node server code from here & cleaned it up a bit. The original code uses imagemagick, and I am planning to use something lightweight and less dependency oriented to enable simple operations like cropping, resizing, filters etc. The search is still on, suggestions are welcome. I have found this awesome node module named Light Weight Image Processor for NodeJS, so far the best light weight image processor.