View as Json

Stateless Auth Starter

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

It provides a production-ready implementation of stateless authentication using Access Tokens, Refresh Tokens, and Token Rotation strategies to ensure high security and scalability.

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


Installation Guide

Initialize Stateless Auth with your preferred database setup:

1. MongoDB + Mongoose

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

2. MySQL + Drizzle

npx servercn-cli@latest init stateless-auth --db=mysql --orm=drizzle


Loading files...

File & Folder Structure

......

Installation

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