Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t18n/nestjs-serverless-aws-graphql

A simple NestJS GraphQL API, deployed to AWS Lambda using Serverless Framework
https://github.com/t18n/nestjs-serverless-aws-graphql

aws-cloudformation aws-lambda nestjs serverless

Last synced: 7 days ago
JSON representation

A simple NestJS GraphQL API, deployed to AWS Lambda using Serverless Framework

Awesome Lists containing this project

README

        

# NestJS GraphQL API with Serverless Framework

## Prerequisites

AWS account with IAM Group policy setup including:

- S3
- CloudFormation
- Lambda
- API Gateway
Give all policy above full permission for the sake of simplicity. Keep in mind that you SHOULD always tighten the permission group for each user.

## Deploy

- To deploy/update dev stack: `PROFILE= yarn deploy`
- To deploy/update prod stack: `PROFILE= yarn deploy:prod`

## Use this app

- Run `yarn dev`, go to localhost:3000/graphql to visit the GraphQL Playground