NestJS-GraphQL-TypeORM-PostgresQL

NestJS + GraphQL + TypeORM + PostgresQL Boilerplate

nodejsgraphqlboilerplatejwtnodetypescriptgeneratorboilerplate-templatepostgresqlpassportnesttypeorm
FreeRepo

Preview

NestJS-GraphQL-TypeORM-PostgresQL preview

Overview

This is a NestJS backend boilerplate that combines TypeORM for database management, GraphQL for API queries and PostgreSQL for data storage, designed to help developers quickly build scalable server applications with built-in authentication, role-based access control, automated database migrations and testing infrastructure. It includes Docker support, custom CRUD operations, field-level permissions and continuous integration setup via GitHub Actions.

Features

graphql-apicode-first-graphqlcustom-crud-operationsfield-level-permissionsrole-based-access-controldynamic-query-optimizationdatabase-migrationscachingcode-generatorgraphql-uploadapollo-server-playground

Feature Flags

userDashboardauthenticationsubscriptionsinvoicesecommercefileUploadsrealtimeauthorizationnotificationsgraphqlapiDocscachingmapsformsValidation

Recommended Use Cases

backend-api-developmentgraphql-serverenterprise-applicationsscalable-nodejs-backend

Frontend

None

Backend

nestjsnodejstypescriptgraphqlapollo-server-expresstypeormpassportjwt

Auth Providers

passportjwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

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

Stack

Framework
nestjs
Language
typescript
Database
postgresql
Auth
jwt, passport
ORM
typeorm
Testing
jest, supertest, pg-mem
CI
github-actions

Data Layer

Databases
postgresql
ORM
typeorm

UI Stack

Developer Experience

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

Pricing

Classification
free
Selected
โ€”
Notes
MIT licensed open-source boilerplate
Get Started with this Boilerplate