Book Image

Node.js Blueprints

By : Krasimir Stefanov Tsonev
Book Image

Node.js Blueprints

By: Krasimir Stefanov Tsonev

Overview of this book

Table of Contents (19 chapters)
Node.js Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 12. Developing Desktop Apps with Node.js

In the previous chapter, we implemented a REST API and built a server that processes various requests. Most of the chapters in this book present web technologies, applications that work in a browser with the HTTP protocol. It's interesting that Node.js can be used to produce desktop programs, and we don't have to learn a new language or use a new tool. We can continue using HTML, CSS, and JavaScript. This is a great benefit because these technologies are easy to learn and develop. Node.js is also really fast: We save a lot of time when dealing with large amounts of written modules because we don't have to deal with trivial problems. In this chapter, we will write a file browser. Our application will perform the following:

  • Run as a desktop program

  • Read the files from our hard drive and display them on the screen

  • Display images