The Best of Node and Express [Articles and Tutorials]
The Best of Node and Express [Articles and Tutorials]
Put the ''N'' and ''E'' in MEAN
Join the DZone community and get the full member experience.Join For Free
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!
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.
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
- In Express vs. Spring Boot by Plebani Alberto and Express vs. Hapi by Dave Swersky, readers get a chance to see Express compared to other frameworks for backend web development in order to better understand the pros and cons of using Express.
Creating a Node Application Using Express Generator by Vipul Malhotra is perfect for anyone just looking to get up and going with Express. Vipul walks readers through the installation process for Express and demonstrates how to generate a starting template for a Node application.
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.
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.
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!
Understanding Streams and Node.js by Puneet Sharma discusses how to use streams in Node.js to handle data asynchronously. Puneet touches on piping to finish the article to show users how to handle data more efficiently.
In Dan McGhan's article, Uploading and Downloading Files: Streaming in Node.js, readers can learn how to use Node's streaming APIs in order to stream files between clients, Node.js, and an Oracle Database.
In Using Node 11.7 Worker Threads With RxJS Observable, developer Brian De Sousa shows readers how to use worker threads and RxJS Observables in order to execute a task asynchronously and stream data from that task back to the rest of your Node application using.
Uploading and Downloading Files: Buffering in Node.js by Dan McGhan walks readers through performing file uploads and downloads using buffering binds and fetches.
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.
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
Getting Started With Node.js, Express, and Mongoose by Kevin Hooke shows readers how to set up a REST-based backend using npm.
In this article, developer Mykola Striletskyy demonstrates to readers how to develop a boilerplate for forum-like application with Node.js, Express, and MongoDB in order to give readers useful tips that will refine the structure of their APIs.
In this first article on security in Node.js and Express, Max McCarty walks readers through enforcing user account requirements in order to better ensure the security of user passwords in your application.
Chris Berry shows readers how to add a simple security model to the application, which will accept a login, validate a user, redirect to a secure page, enable a logout, and catch any errors which occur during the process in his article, Node + Express for a Simple Security Model.
David Bohannon discusses vulnerabilities in the MEAN stack, including case-insensitive routing and middleware order, in his article, Express.js: Preventing Common Vulnerabilities in the MEAN Stack.
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.
TypeScript and Node
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.
Opinions expressed by DZone contributors are their own.