ExpressJS

Learn how to integrate Wristband with your Express application.

This quickstart guide will walk you through the process of integrating your Express application with Wristband.

Goals

After completing this guide, you will have learned to do the following:

  • Integrate your Express backend with Wristband, utilizing Wristband's Express Auth SDK.
  • Implement session management with your Express backend.
  • Connect a React frontend to your Express backend utilizing Wristband's React Client Auth SDK.
  • Protect your application's pages and APIs by verifying that the user has an authenticated session.

Prerequisites

  • Node.js (v20.x or later)
  • A package manager such as npm, yarn, or pnpm
  • Express (v4.x or later)
  • React (vanilla or NextJS)

Set Up Express

If you are starting your app from scratch, you will need to set up an Express project by following their installation documentation.


What’s Next

After your Express project is set up, you'll need to install the Wristband Auth SDK.