rorycawley / amplify-with-cdk

An example project showing how to mix CDK with AWS Amplify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 52.2%Language:JavaScript 33.7%Language:CSS 14.0%