Category: Node

Tutorial: Build an App with AngularJS, Node.js, and Stormpath in 15 Minutes

AngularJS is a framework for building front-end (browser) applications, also known as “Single Page Apps” (SPAs), and we think it’s superb! AngularJS makes it very easy to build a complex, responsive application, particularly to put a SPA on top of your API service. And once you have an app up, you want your users to …

All You Ever Wanted to Know About Sessions In Node.js

Update 5/11/2016: Trying to decide where to store your JWTs? Check out our post on Cookies vs. HTML Web Storage!   Want to build a Node.js web app that wows and delights with secure, persistent login? Sounds like a job for sessions! In this post, you’ll learn what sessions are and how to implement them in …

Build an API Service with OAuth2 Authentication, using Restify and Stormpath

Update 5/11/2016:  Developing in Node.js? Try out nJwt, the cleanest JSON Web Token (JWT) library for Node.js developers, built and maintained by Stormpath. Building APIs is a craft; you have you have to balance the integrity of your data model with with the convenience needs of your API consumers. As you build an API, you will …

Easy API Key Management for Node – A Sample App

Update 2/29/16: These code examples have been updated to reflect the 3.0 release of the express-stormpath integration. When you build a REST API, creating the infrastructure required to secure an API with keys, OAuth tokens, and scopes can be tedious, risky and time-consuming. Fortunately, Stormpath just added API key management to our express-stormpath package. Now, …

Build a Node API Client – Part 3: Queries, Caching and Authentication

Welcome to Part Three of our guide to Node.js REST clients. This third and final blogpost will wrap up the series with a look at topics like querying, caching, API authentication, and lessons learned the hard way. If you haven’t already, please start with Part One, the RESTful principles important for REST clients. Or skip …

Build a Node API Client – Part 2: Encapsulation, Resources, & Architecture

Welcome to Part Two of our series on Node.js Client Libraries. This post serves as our guide to REST client design and architecture. Be sure to check out Part One on Need-To-Know RESTful Concepts before reading on. Update: Stormpath now secures authentication to your API- without code! API Encapsulation Before sinking our teeth into resources …

Build a Node API Client – Part 1: REST Principles

If you want developers to love your API, focus the bulk of your efforts on designing a beautiful one. If you want to boost adoption of your API, consider a tool to make life easier on your users: client libraries. Specifically, Node.js client libraries. This series will cover our playbook for building a stable, useful …

Easy API Key Management for Node – A Sample App

Update 2/29/16: These code examples have been updated to reflect the 3.0 release of the express-stormpath integration. When you build a REST API, creating the infrastructure to authenticating access to the API securely with keys, OAuth tokens, and scopes can be tedious, risky and time-consuming. Fortunately, Stormpath just added API authentication to our express-stormpath module. …

Node.js Reading List

Over the past couple of months, I’ve been getting more involved in the Node.js community: writing more Node code, building apps, and getting familiar with the ecosystem. As a developer, it’s really interesting getting familiar with a new language / framework / community. There’s a lot to learn: the language, ecosystem, tools, best practices and …

Stormpath Node.js Update: All New Support for Social Login and Custom Data

Today, I’m ecstatic to announce the 0.2.0 release of our Node.js SDK, complete with updated docs and a host of fixes and new functionality. When we first released the 0.1 version in March, the fast adoption surprised us. Since then, we’ve been working hard to incorporate all your feedback (thanks!), fill out the features, and …