Scott Smith

Blog Tutorials Projects Speaking RSS

Protect Your Node App’s Noggin With Helmet

Learn how to protect your Express Node application from cross-site scripting, script injection, clickjacking, insecure requests, and more by using a set of Express middleware provided by Helmet.

Beer Locker: Building a RESTful API With Node - Digest

Many readers have asked questions about how to use different authentication strategies so I am going to continue this series and delve into many of those strategies. This article will explore the use of Digest authentication instead of Basic.

Beer Locker: Building a RESTful API With Node - OAuth2 Server

In this beer locker installment we will dive into creating an OAuth2 server and allowing access to API endpoints for the authorized user or authorized applications. We will do this by integrating OAuth2orize into our application.

Beer Locker: Building a RESTful API With Node - Passport

In this part of the beer locker series, we will dive into creating user accounts and authentication using Passport. By the end of this article you will have learned how to add user accounts, implement authentication, and control access to beer lockers.

Beer Locker: Building a RESTful API With Node - CRUD

In this beer locker part, we will dive a bit deeper and learn how to implement CRUD operations on our beer locker. By the end of this article you will have learned how to connect to a MongoDB, used Mongoose for object modeling, and have implemented GET, PUT, POST, and DELETE endpoints.