Skip to content

konami99/building-a-full-web-stack-with-docker-and-aws-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the source code for my Leanpub book Building a full Web-Stack with Docker and AWS Copilot.

Put these environment variables in your express and nextjs folder, so you can run them locally:

express/.env

PORT=3003
FRONTEND_HOST=*
AWS_REGION=us-west-2
DB_URI=http://dynamodb-local:8000
COPILOT_SNS_TOPIC_ARNS={"emailEvents":"arn:aws:sns:us-west-2:000000000000:emailEvents"}
AWS_ACCESS_KEY_ID=local
AWS_SECRET_ACCESS_KEY=local
SNS_TOPIC_ENDPOINT=http://localstack:4566

nextjs/.env

NEXT_PUBLIC_EXPRESS_ENDPOINT=http://localhost:3003

Cover Art

emma-raphael-ttS--i2y9Bo-unsplash(3)

Photo by Emma Raphael on Unsplash