express-ts-auth-service

A ready-to-use authentication service build with express.js, that provides secure and reliable authentication using JSON Web Tokens (JWT) and refresh token rotation

nodejsmysqlboilerplatejwtexpresstypescriptauthenticationeslintjestjwt-authenticationnode-boilerplaterefresh-token
FreeRepo

Preview

express-ts-auth-service preview

Overview

Express-Ts-Auth-Service is a pre-built authentication server that handles user signup, login, password reset and email verification using JSON Web Tokens for secure sessions. Built with Express.js, TypeScript, MySQL and Prisma ORM, it includes password hashing with Argon2, refresh token rotation, rate limiting, input validation and comprehensive security middleware, making it suitable for quickly adding authentication to web or mobile applications.

Features

jwt-authenticationrefresh-token-rotationemail-verificationpassword-resetargon2-password-hashinggzip-compressionhelmet-securitycookie-parsingcorsxss-protectionrate-limitinginput-validationemail-sendinglogginggit-hooks

Feature Flags

authenticationblogemailsecommerceauthorizationloggingErrorTrackingrateLimitingmapsformsValidation

Recommended Use Cases

authentication-serviceuser-managementjwt-based-apisecure-backend

Frontend

None

Backend

expressnodejstypescript

Auth Providers

jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
250
๐Ÿด Forks
41
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown

Stack

Framework
express
Language
typescript
Database
mysql
Auth
jwt
ORM
prisma
Testing
jest, supertest

Data Layer

Databases
mysql
ORM
prisma

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source MIT licensed project
Get Started with this Boilerplate