{"repo":"cerinoligutom/GraphQL-Starter","free":true,"listed":false,"github":"https://github.com/cerinoligutom/GraphQL-Starter","clone":"git clone https://github.com/cerinoligutom/GraphQL-Starter.git","description":"A boilerplate for TypeScript + Node Express + Apollo GraphQL APIs.","language":"TypeScript","stars":113,"topics":["graphql","typescript","nodejs","express","boilerplate","boilerplate-template","boilerplate-node","docker","postgresql","supertokens"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"TypeScript Node Express + Apollo GraphQL Starter A boilerplate for TypeScript + Node Express + Apollo GraphQL APIs. Table of Contents - Features - Setup - Prerequisites - Getting Started - Project Structure - Sample Environment File - Recommended Workflow - Database Migrations and Seeding - Session Management with Supertokens - Naming Convention - Deployment - Pro Tips - Contributing - Known Dependency Issues - License Features - ESM (ECMAScript Modules) support - Login with Email and Password - Session Management (Access Token + Rotating Refresh Tokens) with SuperTokens. - SuperTokens is only used for Session Management with this setup but it can do more than that. If you need a different kind of Authentication (e.g. Social Login, Passwordless), read more on the SuperTokens docs on how to setup one easily. - Node Express REST endpoint examples - Apollo GraphQL as middleware for Node Express - Centralized error handling - See src/errors/base.error.ts and src/errors/error-handler/index.ts . - For GraphQL, see src/graphql/index.ts and look for the formatError of Apollo. - For REST, see src/middlewares/error.middleware.ts . - Automatic type code generation for GraphQL resolvers with GraphQL Code Generator - Facebook Dataloader for caching and batching - PostgreSQL Database - pgAdmin for managing the PostgreSQL Database - Redis for Caching and GraphQL Subscription - RedisCommander for managing the Redis Database - Pre-commit hook for auto formatting files with Husky, Lint-Staged ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cerinoligutom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cerinoligutom/GraphQL-Starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}