GraphQL-Starter

A boilerplate for TypeScript + Node Express + Apollo GraphQL APIs.

nodejsgraphqldockerboilerplateexpresstypescriptboilerplate-templatepostgresqlboilerplate-nodeprismasupertokenskysely
FreeRepo

Preview

GraphQL-Starter preview

Overview

This is a production-ready boilerplate for building backend APIs using TypeScript, Node Express and Apollo GraphQL. It includes built-in session management with SuperTokens, PostgreSQL database support with Prisma migrations, Redis caching, GraphQL subscriptions, Docker containerization and developer tools like automatic code generation, pre-commit hooks and centralized error handling.

Features

esm-supportlogin-email-passwordsession-managementrotating-refresh-tokensrest-endpointsgraphql-apiapollo-graphqlcentralized-error-handlinggraphql-code-generationdataloader-cachingredis-cachinggraphql-subscriptionspre-commit-hooksschema-validationdocker-supportmulti-stage-builddatabase-migrationsdatabase-seedingpgadminredis-commander

Feature Flags

userDashboardauthenticationsubscriptionsblogemailsfileUploadsrealtimeauthorizationteamsOrgsloggingErrorTrackingcmsnotificationsgraphqlcachingmapsformsValidation

Recommended Use Cases

graphql-api-developmentrest-api-developmentreal-time-applicationssession-based-authentication

Frontend

react

Backend

nodejsexpressapollo-graphql

Auth Providers

supertokens

Deployment Targets

dockeraws

Payment Providers

None

Quick Facts

โญ Stars
112
๐Ÿด Forks
27
๐Ÿ”„ Active
Unknown

Stack

Framework
express
Language
typescript
Database
postgresql
Auth
supertokens
ORM
prisma, kysely

Data Layer

Databases
postgresql, redis
ORM
prisma

UI Stack

Developer Experience

Docker
Yes
Tests
No
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate template
Get Started with this Boilerplate