All Projects → lnmunhoz → nestjs-graphql-serverless

lnmunhoz / nestjs-graphql-serverless

Licence: other
Boilerplate for using NestJS with GraphQL (Code-First) on serverless environment (AWS Lambda)

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to nestjs-graphql-serverless

Serverless Express
Run Node.js web applications and APIs using existing application frameworks on AWS #serverless technologies such as Lambda, API Gateway, Lambda@Edge, and ALB.
Stars: ✭ 4,265 (+6564.06%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
hyperform
⚡ Lightweight serverless framework for NodeJS
Stars: ✭ 156 (+143.75%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Zappa
Serverless Python
Stars: ✭ 224 (+250%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-20.31%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (+87.5%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Zappa
Serverless Python
Stars: ✭ 11,859 (+18429.69%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Serverless Next.js
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
Stars: ✭ 2,977 (+4551.56%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
Serverless Aws Alias
Alias support for Serverless 1.x
Stars: ✭ 171 (+167.19%)
Mutual labels:  aws-lambda, api-gateway, serverless-framework
tencent-apigateway
Easily provision Tencent API Gateway using Serverless Components
Stars: ✭ 33 (-48.44%)
Mutual labels:  api-gateway, serverless-framework
serverless-api-gateway-throttling
A plugin for the Serverless framework which configures throttling for API Gateway endpoints.
Stars: ✭ 54 (-15.62%)
Mutual labels:  api-gateway, serverless-framework
nestjs-graphql-gateway
Apollo Federation support for NextJS GraphQL module. Note: There is support for federation in the official package now so this project is deprecated
Stars: ✭ 13 (-79.69%)
Mutual labels:  nestjs, nestjs-graphql
serverless
BlueNimble is a Hybrid Serverless Platform focusing on developer productivity and application portability. Create and run scalable APIs and applications without coding or by coding less. Focus on application business logic without any knowledge of the underlying microservices architecture.
Stars: ✭ 30 (-53.12%)
Mutual labels:  api-gateway, serverless-framework
noiiice
a serverless blog built on NuxtJS, AWS, serverless framework, and irrational exuberance.
Stars: ✭ 42 (-34.37%)
Mutual labels:  api-gateway, serverless-framework
serverless-cloud-vision
Serverless API around Google Cloud Vision
Stars: ✭ 31 (-51.56%)
Mutual labels:  api-gateway, serverless-framework
amazon-ivs-ugc-web-demo
This repository shows how you can build a compelling user-generated content (UGC) live streaming webapp with Amazon IVS.
Stars: ✭ 14 (-78.12%)
Mutual labels:  api-gateway, serverless-framework
aws-nestjs-starter
Serverless, AWS, NestJS, GraphQL and DynamoDB starter
Stars: ✭ 200 (+212.5%)
Mutual labels:  nestjs, nestjs-graphql
pong
🏓 Pong for RESTful APIs (microservices pattern) using Serverless Framework ⚡
Stars: ✭ 27 (-57.81%)
Mutual labels:  api-gateway, serverless-framework
sls-photos-upload-service
Example web app and serverless API for uploading photos and saving to S3 and DynamoDB
Stars: ✭ 50 (-21.87%)
Mutual labels:  api-gateway, serverless-framework
prisma-nestjs-graphql
Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module
Stars: ✭ 276 (+331.25%)
Mutual labels:  nestjs, nestjs-graphql
amazon-ivs-ecommerce-web-demo
This repository shows how you can build a compelling eCommerce experience with Amazon IVS.
Stars: ✭ 19 (-70.31%)
Mutual labels:  aws-lambda, serverless-framework

NestJS GraphQL Serverless

Boilerplate for using NestJS with GraphQL (Code-First) on serverless environment (AWS Lambda)

Follow the discussion: nestjs/docs.nestjs.com#96

Installation

$ yarn

Running the app

# development
$ yarn start:dev

# serverless-offline
$ yarn start:sls

# deploy
$ yarn deploy:sls

Notes

Developmet Workflow

There's two entrypoints for the server.

  • src/serverless is where the handler function is exported for aws lambda
  • src/main is for local development

You can develop your app using yarn start:dev command, which will run the local nodejs server and regenerate your schema.gql file when update the resolvers.

For development with serverless-offline, you can run yarn start:sls.

Deployment

When your function is deployed, you can access <lambda-url>/dev/graphql to test with the playground, make sure that your GraphQL Playground points to <lambda-url>/dev/graphql instead of <lambda-url>/graphql, otherwise you'll get 403 Forbidden response.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].