Skip to content

dabit3/amplify-with-cdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full stack with Next.js, Amplify, & CDK

This project shows you how to build an app that extends a back end created by the Amplify CLI by using AWS CDK

Deploying the app

  1. Clone the repo & change into the directory
git clone https://github.com/dabit3/amplify-with-cdk.git

cd amplify-with-cdk
  1. Install the dependencies in main directory as well as cdk-backend directory:
npm install

cd cdk-backend 

npm install

cd ..
  1. Build and deploy Amplify project
amplify init

amplify push
  1. Build and deploy the CDK back end
cd cdk-backend

npm run build && cdk deploy -O ../src/cdk-exports.json

cd ..
  1. Run the Next app
npm run dev

About

An example project showing how to mix CDK with AWS Amplify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published