{"id":50480251,"url":"https://github.com/tux86/nestjs-serverless-boilerplate","last_synced_at":"2026-06-01T17:01:56.723Z","repository":{"id":39800486,"uuid":"481368323","full_name":"tux86/nestjs-serverless-boilerplate","owner":"tux86","description":"Serverless Multi-tenant NestJS backend \"Boilerplate\" + Fastify + Serverless Framework 3 + Graphql + Modules for AWS Serverless Services (SES,SQS,SecretsManager,Aurora RDS) ","archived":false,"fork":false,"pushed_at":"2022-08-01T09:38:33.000Z","size":599,"stargazers_count":24,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-09T01:26:36.445Z","etag":null,"topics":["aws-lambda","boilerplate","cognito","graphql","nestjs","s3","secrets-manager","serverless","serverless-framework","ses","sqs","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tux86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-13T20:41:56.000Z","updated_at":"2023-03-08T08:57:16.000Z","dependencies_parsed_at":"2022-08-20T11:31:13.091Z","dependency_job_id":null,"html_url":"https://github.com/tux86/nestjs-serverless-boilerplate","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/tux86/nestjs-serverless-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fnestjs-serverless-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fnestjs-serverless-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fnestjs-serverless-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fnestjs-serverless-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tux86","download_url":"https://codeload.github.com/tux86/nestjs-serverless-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fnestjs-serverless-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33784631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","boilerplate","cognito","graphql","nestjs","s3","secrets-manager","serverless","serverless-framework","ses","sqs","typeorm","typescript"],"created_at":"2026-06-01T17:01:55.080Z","updated_at":"2026-06-01T17:01:56.713Z","avatar_url":"https://github.com/tux86.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Multi-tenant NestJS backend \"Boilerplate\" \n\nServerless Multi-tenant monolithic backend app made with NestJS 8 + Serverless Framework\n\n## Features: \n\n### NestJS:\n* NestJS 8 + Fastify + TypeORM\n* NestJS/Graphql - multiple endpoints (public, management, internal)\n* Pagination, sort, search and filtering for Rest \u0026 Graphql APIs\n* Includes Buniness logic Exceptions with namespaced codes\n* Using Exception filters and logging\n* custom validators\n\n### IAC Serverless Framework (AWS):\n* Serverless Framework 3\n* serverless-offline (full working local envrionnement with aws services mocking)\n* single Lambda function aka. mono-lambda\n* use of Lambda function URLs instead of Lambda + Api Gateway\n* Custom domain endpoints (Route53 → Cloudfront → Lambda)\n* arm64 architecture for lambda\n* using 100% aws-sdk (v3)\n* AWS Cognito JWT token validation with AuthGuard\n\n### Core modules:\n\n#### AWS Modules:\n\n* Cognito module\n* SQS module: SQS producer/consumer (use of NestJS Standalone application for consumer)\n* SES module (inspired by **@ssut/nestjs-sqs**) https://www.npmjs.com/package/@ssut/nestjs-sqs\n* S3 module\n* SecretsManager module: used by database module to load db credentials\n\n### Other topics\n* Semantic Versioning: https://github.com/0xb4lamx/nestjs-boilerplate-microservice/blob/master/docs/guidelines.md\n\n    \n## Installation\n\n```bash\n$ yarn install\n```\n\n## Running the app\n\n```bash\n# development\n$ yarn start\n\n# watch mode\n$ yarn start:{app-name}:dev\n\n```\n\n## Test\n\n```bash\n# unit tests\n$ yarn test\n\n# e2e tests\n$ yarn test:e2e\n\n# test coverage\n$ yarn test:cov\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux86%2Fnestjs-serverless-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftux86%2Fnestjs-serverless-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux86%2Fnestjs-serverless-boilerplate/lists"}