Nodejs with KOA2 by Amin B Nagpure - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Introduction

 

I assume you know JavaScript, knows web development, knows about node.js, tried it, have idea about Angularjs, Reactjs.

If you are trying to learn node.js, this book will help.

I will make your nodejs learning very easy, after reading this book, you will be able to make entire websites with nodejs using koa framework.

When I tried to learn node with koa, not much help is available online, there were absolutely not enough tutorials to help you learn, even to this date when iam writing this book, hardly any help will be there to help you build entire website from scratch, so iam writing this eBook, to help you learn faster.

Node with Koa is very easy, just like Meteorjs, if you know Meteorjs, you will know how coding is breeze, in Meteorjs, but then why not code in Meteorjs instead of node.

Although coding is breeze in Meteorjs, it is only for advance Linux user, hosting is pain, and you need to have at least intermediate levels of Linux skills to host it on VPS or dedicated server, there is no shared hosting service for meteor at the time of writing this eBook.

Meteor looked so promising and so easy, that I coded entire dating website in Meteorjs, and also hosted it, even though my hosting company gave me full support, did all the heavy lifting, still frequently website used to crash, and I was not sure what was the reason.

It does require Linux admin skills, Nginx skills and Docker skills.

If you can make websites on nodejs, they can be hosted on windows platform, websites are cool in nodejs, they are fast and real-time.

Future is micro services, software as a service; you will be developing software as a service not like in the past where you develop entire monolithic application with all the features in it, you will be building small service apps, and will be integrating other apps with it made by you or some other person.

Money is in micro service, you can develop a micro service app and upload it on cloud, and people will use your service and pay you as per use. For example you can develop an algorithm which can detect diabetes provided with some specific parameters, and people will pay you for using your algorithm, lot of services like this are available on cloud.