Skip to content

A complete "serverless" todo app that deploys to AWS. Built on Serverless Stack, AppSync, DynamoDB, Cognito, React, Apollo Client, Chakra UI, and GraphQL Code Generator.

silversteez/graphql-appsync-todo

Repository files navigation

A Serverless Todo App

Deployed here: https://d17sofd3yzro6z.cloudfront.net/

Started with this tutorial. Serverless Stack provides some nice abstractions on top of the AWS CDK for simplifying development and enables "Live Lambda Development" which is amazing.

Authentication is handled by AWS Cognito along with the AWS Amplify client library and React components.

The back-end consists of AWS DynamoDB, AppSync, and Lambda (Node.js).

Uses GraphQL Code Generation to output Apollo/React hooks along with Chakra UI on the front-end, deployed to AWS S3/Cloudfront.

Commands

yarn start

Starts the local Lambda development environment.

yarn build

Build the app and synthesize stacks.

Generates a .build/ directory with the compiled files and a .build/cdk.out/ directory with the synthesized CloudFormation stacks.

yarn deploy [stack]

Deploy all stacks to AWS. Or optionally deploy a specific stack.

yarn remove [stack]

Remove all stacks and their resources from AWS. Or optionally remove a specific stack.

About

A complete "serverless" todo app that deploys to AWS. Built on Serverless Stack, AppSync, DynamoDB, Cognito, React, Apollo Client, Chakra UI, and GraphQL Code Generator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published