SitePoint | Node.js
926 FOLLOWERS
SitePoint is one of the largest online communities of web professionals. Our large, vibrant forum, thousands of top quality tutorials and our wide range of educational products on our learning platform learnable.com make sitepoint.com the top online resource for web designers, and developers. Follow this blog to learn more about Node.js.
SitePoint | Node.js
3y ago
Need fast data interactions in your Node app? Learn how Redis speeds caching, message brokering, sessions, analytics, streaming and more ..read more
SitePoint | Node.js
3y ago
Jurgen Van de Moere shows how to implement Angular authentication using a REST API built with Node, Express and MongoDB ..read more
SitePoint | Node.js
3y ago
When should you choose Node over its newer, secure runtime rival, Deno? Understand the differences between Deno and Node.js, as well as the similarities ..read more
SitePoint | Node.js
3y ago
Camilo Reyes explores the Node.js Event Loop, showing how it deals with the problem of multiple threads and managing context switch ..read more
SitePoint | Node.js
3y ago
Michael Wanyoike walks you through building a full-stack JavaScript CRUD contact list application, using Node, FeathersJS and MongoDB for the back-end API ..read more
SitePoint | Node.js
3y ago
Ever wished Node was more secure and came with TypeScript support out the box? Deno offers this and more. Learn why many are switching from Node to Deno ..read more
SitePoint | Node.js
3y ago
Wish you could write a web app or API without messing around with the server? Boom! Learn how to create serverless solutions with AWS Lambda ..read more
SitePoint | Node.js
4y ago
In 2020, there’s no reason for your website not to use HTTPS. Visitors expect it, Google uses it as a ranking factor and browser makers will happily name and shame those sites not using it.
In this tutorial, I’ll walk you through a practical example of how to add a Let’s Encrypt–generated certificate to your Express.js server.
But protecting our sites and apps with HTTPS isn’t enough. We should also demand encrypted connections from the servers we’re talking to. We’ll see that possibilities exist to activate the SSL/TLS layer even when it’s not enabled by default.
Note: if you’re looking for i ..read more
SitePoint | Node.js
4y ago
A common requirement when building a web app is to implement a login system, so that users can authenticate themselves before gaining access to protected views or resources. Luckily for those building Node apps, there’s a middleware called Passport that can be dropped into any Express-based web application to provide authentication mechanisms in only a few commands.
In this tutorial, I’ll demonstrate how to use Passport to implement local authentication (that is, logging in with a username and password) with a MongoDB back end. If you’re looking to implement authentication via the likes of Fac ..read more
SitePoint | Node.js
4y ago
Express.js is a Node.js web framework that has gained immense popularity due to its simplicity. It has easy-to-use routing and simple support for view engines, putting it far ahead of the basic Node HTTP server.
However, starting a new Express application requires a certain amount of boilerplate code: starting a new server instance, configuring a view engine, and setting up error handling.
Although there are various starter projects and boilerplates available, Express has its own command-line tool that makes it easy to start new apps, called the express-generator.
What is Express?
Express has ..read more