Skip to content

A fullstack Next.js to do list web app with FastAPI, AWS CDK, DynamoDB, Lambda Function

Notifications You must be signed in to change notification settings

ithunter0428/FastAPI-AWS-Todo-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-aws

A Next.js to do list web app with FastAPI, AWS CDK, DynamoDB, Lambda Function

Screenshot

Self note for future reference

Getting started

Init CDK

cdk init --language typescript

Shell command to activate .sh to zip

chmod -x pkg_for_lambda.sh

./pkg_for_lambda.sh

Deploy CDK

cdk deploy

Infra/lib/infra-stack.ts

    // Lambda function for the API
    const api = new lambda.Function(this, "API", {
      runtime: lambda.Runtime.PYTHON_3_9,
      code: lambda.Code.fromAsset("../api/lambda_function.zip"),
      handler: "todo.handler",
      environment: {
        TABLE_NAME: table.tableName,
      },
    });

About

A fullstack Next.js to do list web app with FastAPI, AWS CDK, DynamoDB, Lambda Function

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published