typeplate

REST API boilerplate with Typescript, Express.js, Typeorm and Mocha.

apidockerboilerplateexpressapidocnodetypescriptmochaauthenticationdocker-composeapi-resttypeorm

Preview

typeplate preview

Overview

This is a production-ready REST API boilerplate built with Express.js, TypeScript and TypeORM that provides a complete foundation for building scalable backend services. It includes Docker containerization, JWT and OAuth authentication, security features like rate limiting and CORS, testing with Mocha, API documentation generation, file uploads, caching and PM2 deployment configuration for quick project setup.

Features

rest-apitypescriptormentity-generationbusiness-validationloggingtestingapi-documentationssl-httpscorssecurity-headersrate-limitingroute-validationjwt-authenticationoauth-authenticationtransactional-emailshttp-cachingdatabase-cachingfile-uploadimage-resizingdockerdocker-compose

Feature Flags

userDashboardauthenticationblogemailsfileUploadsstorageauthorizationteamsOrgsloggingErrorTrackingapiDocscachingrateLimitingimageProcessingmultitenancy

Recommended Use Cases

rest-api-developmentbackend-boilerplatemicroservicesenterprise-applications

Frontend

None

Backend

expresstypescripttypeormpassportmorganwinstonhelmetjoiboom

Auth Providers

passportjwtoauth

Deployment Targets

dockerpm2vps

Payment Providers

None

Quick Facts

โญ Stars
336
๐Ÿด Forks
46
๐Ÿงพ License
MIT
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-01-18T23:08:15Z

Stack

Framework
express
Language
typescript
Database
mariadb, mysql, postgresql
ORM
typeorm
Testing
mocha, chai, sinon, supertest
CI
github-actions

Data Layer

Databases
postgresql, mysql, mariadb
ORM
typeorm

UI Stack

Developer Experience

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

Pricing

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