Residents

My boilerplate for SAAS and app projects. Express 5. Users infrastructure with RBAC. Postgres with Drizzle ORM, JWTs / PassportJs for auth, Swagger and Postman docs πŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸΏπŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ½πŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸΏπŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸΏπŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸΏπŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ½

apidockeropen-sourcepostgresboilerplatejwtexpressnodeauthenticationjestrest-apiexpressjs

Preview

Residents preview

Overview

Residents is a TypeScript-based backend API boilerplate built on Express, PostgreSQL and Drizzle ORM that provides user management, authentication and authorization features for applications. It includes email verification, password reset, social login support via Passport, role-based access control, comprehensive tests, Docker setup and strong type coverage to help developers quickly build secure, scalable user-centric applications.

Features

user-managementrbacjwt-authenticationsocial-loginemail-verificationpassword-resetmagic-loginuser-soft-deleteuser-hard-deletegoogle-oauthswagger-documentationpostman-collectionrate-limitinghelmet-securitydocker-supportseed-script

Feature Flags

userDashboardauthenticationblogemailsfileUploadsstoragerealtimeauthorizationi18nnotificationswebhooksapiDocsrateLimitingformsValidation

Recommended Use Cases

saas-applicationsuser-centric-applicationsrest-api-backendmulti-tenant-systems

Frontend

None

Backend

expressnodejstypescriptdrizzle-ormpostgresqljwtpassport

Auth Providers

passportjwtgoogle-oauth

Deployment Targets

verceldocker

Payment Providers

None

Quick Facts

⭐ Stars
14
🍴 Forks
3
πŸ”„ Active
Yes
πŸ•’ Last Commit
2025-10-27T10:27:45.000Z

Stack

Framework
express
Language
typescript
Database
postgresql
Auth
jwt, passport
ORM
drizzle-orm
Testing
jest, supertest
CI
github-actions

Data Layer

Databases
postgresql
ORM
drizzle-orm

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions

Pricing

Classification
free
Selected
β€”
Notes
Open-source boilerplate
Get Started with this Boilerplate