typescript-api-boilerplate

A simple and modular RESTful API boilerplate written in Typescript using Express, MongoDB and PostgreSQL.

boilerplateexpresstypescriptmongodbpostgresqlrestful-apicodecov
FreeRepo

Preview

typescript-api-boilerplate preview

Overview

This TypeScript boilerplate provides a production-ready REST API foundation built with Express, PostgreSQL and MongoDB, featuring user authentication with JWT tokens, account management and per-user file storage with encrypted credentials and password hashing. It emphasizes clean architecture through dependency injection, input validation, comprehensive logging and includes Docker support, HTTPS capability and Jest testing.

Features

authentication-jwtaccount-managementmedia-managementfile-upload-downloadcors-enabledinput-validationlogging-interceptorhttp-https-supportconnection-poolingatomic-queriespassword-hashingemail-encryption

Feature Flags

userDashboardauthenticationblogemailsfileUploadsstorageauthorizationteamsOrgsloggingErrorTrackingformsValidation

Recommended Use Cases

restful-api-developmentbackend-boilerplateuser-authentication-systemmedia-storage-systemmicroservice-foundation

Frontend

None

Backend

expresstypescriptnodejs

Auth Providers

jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
22
๐Ÿด Forks
6
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2022-12-10T14:29:02Z

Stack

Framework
express
Language
typescript
Database
mongodb, postgresql
Testing
jest
Logging
winston
CI
travis-ci, codecov

Data Layer

Databases
postgresql, mongodb

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
travis-ci, codecov

Pricing

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