While developing frontend apps we often need sample data. In this article I will share a very easy way to setup a mock-server using Nodejs native http module having enough flexibility required for custom logic.
Arrow functions added in ES6 provide a good replacement for function expressions. But do you understand them completely? This is a small test to check it out.