authentication-boilerplate

Full-stack starter kit for email and password authentication using a TypeScript Express API and a React client.

reactnodejsboilerplateexpresstypescriptauthenticationviteeslintzod
FreeRepo

Preview

authentication-boilerplate preview

Overview

Full-stack authentication boilerplate providing ready-made registration, login and dashboard pages with a TypeScript Express backend and React frontend. Built on Node.js, Express, MongoDB, JWT and React with production security hardening including rate limiting, bcrypt password hashing, HTTP-only cookies and Zod validation on both client and server.

Features

email-password-authenticationregistrationlogindashboardjwt-access-tokenshttp-only-refresh-cookiestoken-rotationpassword-hashingrefresh-token-hashingclient-side-validationserver-side-validationrate-limitingcorshelmet-securityresponsive-styling

Feature Flags

userDashboardauthenticationemailscmsrateLimitingformsValidation

Recommended Use Cases

full-stack-authentication-starteremail-password-auth-implementationjwt-session-managementproduction-ready-auth-boilerplate

Frontend

reactvitereact-routeraxioscontext-apitypescript

Backend

nodejsexpresstypescriptmongoosejwtbcrypt

Auth Providers

email-password

Deployment Targets

None

Payment Providers

None

Quick Facts

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

Stack

Framework
express
Language
typescript
Database
mongodb
Auth
jwt, bcrypt
ORM
mongoose

Data Layer

Databases
mongodb
ORM
mongoose

UI Stack

Developer Experience

Docker
No
Tests
No
Quickstart
Yes
env.example
Yes

Pricing

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