This article is all about how to start working with Node JS and how to design web applications using an express module using the Intellij IDEA for the IDE.
Several months ago I began working in Node JS. It is a really good language that supports event models at the language level. Node JS is a wrapper written around Google's V8 JavaScript engine that allows JavaScript to be run outside the browser. It optimizes JavaScript for working outside of the browser. This article is all about how to start working with Node JS and how to design web applications using an Express module. There are many IDEs available in the market for writing Node JS code. I have used Intellij IDEA in this article. So let's start reading this article and understand the Express framework. I assume that you have already installed Node in your machine; if not then install it from here.Click here if you want to configure node node in intellij IDEA Let's start creating an Express project; Express is a framework that allows the creation of the MVC web architecture in a Node JS application. There are many ways to create an Express project but in this article I will use Intellij IDEA to create a node Express project. 1. Create Express projectOpen Intellij IDE and create a new project as in the following: Click on the Finish button and intellij will start downloading the required modules and files for your Express project. Click the "Configure" button to include the node core library in your project. This core library will help you to enable intelligence when writing node code. Finally our Express project is ready with its predefined structure. An Express project contains many folders and files. The above structure isn't very hard to understand, let's drill down it.
2. Run Express projectThe following are the two ways to run your Express project.
References
Google OAuth with node js