- Notifications
You must be signed in to change notification settings - Fork177
AWS Serverless Event-driven Microservices with using AWS Lambda, AWS DynamoDB, AWS API Gateway, AWS EventBridge, AWS SQS, AWS CDK stands for Cloud Development Kit for IaC — Infrastructure as Code tool and AWS CloudWatch for monitoring.
License
awsrun/aws-microservices
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
UDEMY COURSE WITH DISCOUNTED - Step by Step Development of this Repository ->https://www.udemy.com/course/aws-serverless-microservices-lambda-eventbridge-sqs-apigateway/?couponCode=NOVE25
This is a Serverless Event-driven E-commerce project for TypeScript development with CDK.Thecdk.json file tells the CDK Toolkit how to execute your app.
- AWS Event-driven Serverless Microservices using AWS Lambda, API Gateway, EventBridge, SQS, DynamoDB and CDK for IaC
- See All Articles - AWS Serverless Microservices with Patterns & Best Practices
We will be following the reference architecture above which is a real-worldServerless E-commerce application and it includes;
- REST API andCRUD endpoints with usingAWS Lambda, API Gateway
- Data persistence with usingAWS DynamoDB
- Decouple microservices with events usingAmazon EventBridge
- Message Queues for cross-service communication usingAWS SQS
- Cloud stack development withIaC usingAWS CloudFormation and AWS CDK
You will need the following tools:
- AWS Account and User
- AWS CLI
- NodeJS
- AWS CDK Toolkit
- Docker
Follow these steps to get your development environment set up: (Before Run Start the Docker Desktop)
- Clone the repository
- At the root directory which includecdk.json files, run below command:
cdkdeploy
Note: Make sure that your Docker Desktop is running before execute the cdk deploy command.
Wait for provision all microservices into aws cloud. That’s it!
You canlaunch microservices as below urls:
- Product API ->https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/product
- Basket API ->https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/basket
- Ordering API ->https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/order
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template
- Mehmet Ozkaya -Initial work -mehmetozkaya
See also the list ofcontributors who participated in this project. Check alsogihtub page of repository.
About
AWS Serverless Event-driven Microservices with using AWS Lambda, AWS DynamoDB, AWS API Gateway, AWS EventBridge, AWS SQS, AWS CDK stands for Cloud Development Kit for IaC — Infrastructure as Code tool and AWS CloudWatch for monitoring.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
