Article
Do you ever wonder what's going on within all of the Express.js middleware that you're adding to your webapp? It's actually pretty impressive what kind of functionality you can add to your apps with just one line of code, or a few: // requires... var app = express(); app.use("...
Scott Robinson
Writing about Passport.js the other day got me thinking about how authentication actually works, and more importantly how many ways it can go wrong. The naive solution is to just store a user's username/email and password directly in the database, and then check the submitted password against the...
Pretty much every user-based app and website needs to send an email to the user at some point, so eventually you'll have to deal with the joyous world of programmatic emailing. There are quite a few services popping up to help you with this, but with every app having its...
User authentication is one of those things that you probably don't think too much about, but just about every website or app out there requires it. If you had to implement authentication yourself, could you? Well don't worry, you probably won't have to. Since this functionality is so common, just...
For many people, actually running your code in a production environment is an afterthought, and just writing the code is where the real challenge is. While this is mostly true in my experiences, finding a reliable and easy way to run your app can be pretty difficult itself. There are...
Cron is a scheduling utility that runs as a daemon process in the background of Unix-like systems. It's extremely popular for running periodic tasks, which can be anything you choose, like initiating a backup or clearing data from a database. You can add tasks to Cron via the command line...
Some of you Node veterans have probably heard of a few of these packages before, but I'm hoping from this article you'll find some really useful ones that you'd never heard of, like I did. I tend to forget there are so many packages out there, so I did some...
For many of us, we started out programming on desktops and servers, which seemed to have infinite memory and processing power (well, depending on when you started programming, I guess). There was little reason to optimize your code since you weren't likely to exceed the system's limits anyway. And then,...
The Node Package Manager, or npm, is one of the best parts about Node, in my opinion. Package management can really make or break a language, so ensuring that it is easy to use and flexible is extremely important. Throughout my use of Node, I only ever knew the basic...
© 2013-2024 Stack Abuse. All rights reserved.