View as Json

Stateful Auth Starter

Stateful Auth Starter is a production-ready foundation for Express.js applications with modern authentication patterns and best practices.

It includes server-tracked sessions to give you fast authorization with strong session control.

This foundation is built using the Stateful Auth blueprint as its base. Stateful Auth Blueprint


Installation Guide

Initialize Stateful Auth with your preferred database setup:

1. MongoDB + Mongoose

npx servercn-cli@latest init stateful-auth --db=mongodb --orm=mongoose


Loading files...

File & Folder Structure

......

Installation

npx servercn-cli init stateful-auth --db=mongodb --orm=mongoose