clean-architecture-api-boilerplate
A boilerplate for creating TypeScript APIs following the Clean Architecture principles.
boilerplateexpresstypescriptjestclean-architecture
FreeRepo
Overview
This is a Node.js and TypeScript boilerplate for building server APIs using clean architecture principles, with Express.js as the web framework and Knex as the database query builder supporting multiple SQL databases. It provides a structured foundation for authentication, user management, token handling and CRUD operations, organized into separate layers (domain, application, adapters, infrastructure and main) to keep business logic independent from external frameworks and databases.
Features
clean-architecturecrud-operationsuser-managementauthenticationtoken-managementrefresh-tokensrole-based-access-controlauthorizationsign-in-system
Feature Flags
userDashboardauthenticationblogauthorizationformsValidation
Recommended Use Cases
api-developmentbackend-boilerplateclean-architecture-learningenterprise-applications
Frontend
None
Backend
nodejsexpresstypescript
Auth Providers
None
Deployment Targets
None
Payment Providers
None
Quick Facts
Stack
Framework
express
Language
typescript
Database
postgresql, mysql, mariadb, mssql, sqlite3, oracle, amazon-redshift
ORM
knex
Testing
jest
Data Layer
Databases
postgresql, mysql, mariadb, mssql, sqlite3, oracle, amazon-redshift
ORM
knex
UI Stack
Developer Experience
Docker
No
Tests
Yes
Quickstart
No
env.example
No
Pricing
Classification
free
Selected
โ
Notes
Open source boilerplate