{{announcement.body}}
{{announcement.title}}

The Best of Node and Express [Articles and Tutorials]

DZone 's Guide to

The Best of Node and Express [Articles and Tutorials]

Put the ''N'' and ''E'' in MEAN

· Web Dev Zone ·
Free Resource

9 and 3/4 express (js)

All aboard!

Built on top of Google Chrome's V8 Engine, Node.js (and its companion framework, Express.js) have come to dominate much of backend development, especially when JavaScript is your language of choice on the server-side. In this edition of "Best of DZone," we're going to take a look into the two frameworks to better understand key pieces of functionality and how they work in tandem to create applications.  

Before we begin, we'd like need to thank those who were a part of this article. DZone has and continues to be a community powered by contributors like you who are eager and passionate to share what they know with the rest of the world. 

Let's get into it!

Overview

What You Node to Know

  • A Look Into Node.js by Rohitha Elsa Philip gives readers the background they need to understand the basics of Node, so potential users can make an informed decision on whether the framework is right for their specific situation and project. 

  • Common Uses for Node.js will serve to further contextualize the understanding gained from the previous piece, as readers will get to hear a developer familiar with Node.js provide specific use cases for the framework. 

  • After you have some background on Node, take a deep dive into what's under Node's hood with this two-part series by Justin Albano that focuses on everything from npm, to event loops, and Node's architecture. Part one and two can be found here and here

  • In this short and sweet tutorial by Shishir Kumar, readers can go through a fun tutorial that'll help them get started using npm by creating a multicolor display in the console. 

  • If you're coming from a Java background and looking to get started with JavaScript for web development, then What Is Node.js for Java Developers is the article for you. Ratha KM breaks down the runtime environment, application and deployment architecture of Node applications and contextualizes all of the information with comparisons to Java frameworks.  

  • For those not familiar with asynchronous programming, this tutorial by Dan McGhan is a must-read, as he explains the sticky intricacies of working asynchronous patterns in Node.js.

Express vs the Rest

HTTP Basics

  • If you're just starting out with web development or have been getting your feet wet but want to nail down some basics, this comprehensive, five-part series on HTTP functionality by Vladimir Pecanac will do wonders for you.

    Part one covers core concepts, part two looks into HTTP architecture, part three focuses on client identification, part four goes in-depth on authentication mechanisms, while part five looks at the fundamentals of SSL/TLS. 

  • In this article by Max McCarty, readers can find a one-stop-shop for all things sessions, including session basics, security (preventing session hijacking), session and cookie-time-to-live, flags, and session regeneration. 

Node Routes

  • In his article, Create Routes With Node and Express, Braden Kelly walks readers through the basics behind routs in Node and Express and demonstrates how to create a simple app with a router in Express. 

  • In this article by Arslan ud Din Shafiq, readers can see first-hand how to work with GET, POST, DELETE, and PUT methods in order to better understand HTTP requests and routing in Express.js.  

  • Route Data in Express.js by Abhijeet Sutar shows readers how to get data sent from the client in Express' server route handler by using Query and URL parameters, header data, post body data, and file multi-part data. 

Streams, Threads, and Buffering... Oh My!

Find a (Database) Connection 

  • Learn How to Use SQL Server With Node.js by David Neal walks readers through every part of the process needed to work with Node and SQL server, beginning with installation and ending with a brief demo application. 

  • Similarly, in The Express-Starter in a Structured Way by Sibu Stephen gives readers the opportunity to make an application that fetches movie names from an unstructured, PostgreSQL database. 

  • In this article, author Nagappan Subramanian walks readers through the process of connecting their Node.js application to MongoDB without using Mongoose.

  • Once, readers have that process checked off their to-do list, they can check out this article by Artyom Keydunov that demonstrates how to create an analytics dashboard with Express, Node, MongoDB, and Cube.js. 

  • In Relational to JSON With Node.js, Dan McGhan makes yet another appearance in this article, as he walks readers generating JSON objects in Node.js by first mimicking PL/SQL solutions and second optimizing a solution for Node.js. Be sure to check out another of Dan's articles, as he explains how callback functions can be used to interact with a database. 

Creating and Using APIs

Node.js Security

Node and Express Applications 

  • In this series by our very own Jordan Baker, Jordan walks readers through creating a Node.js application from scratch. Part one focuses on installation and getting a "Hello, world" program up and running. Part two wakes a look at templating engines, while parts three and four show readers how to transfer data between pages and making the application responsive respectively. 

  • In this article, Sibeesh Venu offers readers a tutorial on creating a chat application with Node.js, Express, MongoDB, and Socket.io. Sibeesh covers everything from frontend and backend setup to creating and receiving requests and implementing Socket.io. 

  • In what's come to be my favorite article in this series, developer Paul Pinard offers readers a fully comprehensive tutorial on creating a chatbot with Node and SAP Conversational AI that makes tv/movie recommendations to users based on whether the user wants to watch a movie or tv show, what genre they're interested in, and what language they prefer. 

Miscellaneous 

Microservices/Deployment

  • Using OpenShift and Node.js, Cesar Valdez removed some of the monotony of deploying microservices with OpenShift and Node.js. Check out this link to see how he did it. 

TypeScript and Node

  • For those of you who are still enamored with TypeScript, check out this tutorial by Vladimir Upirov, as he shows readers how to use TypeScript with Node.js in a few, simple steps. 

Be a Part of the Conversation!

Think we missed something? Want to contribute? Let us know in the comments below... or, join the conversation by becoming a member of our community of thousands of developers eager to share their knowledge and passion for programming with others.

Topics:
web dev ,node ,express ,http ,server ,backend ,client ,routes ,streams ,tutorial

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}