{"id":13624522,"url":"https://github.com/awsrun/aws-microservices","last_synced_at":"2025-04-16T00:32:34.717Z","repository":{"id":38283013,"uuid":"469082857","full_name":"awsrun/aws-microservices","owner":"awsrun","description":"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.","archived":false,"fork":false,"pushed_at":"2024-11-06T14:33:52.000Z","size":249,"stargazers_count":307,"open_issues_count":2,"forks_count":158,"subscribers_count":19,"default_branch":"main","last_synced_at":"2024-11-06T15:35:48.613Z","etag":null,"topics":["api-gateway","aws","aws-apigateway","aws-dynamodb","aws-lambda","cdk","cloudwatch","dynamodb","eventbridge","lambda","lambda-functions","sns","sns-topic","sqs","sqs-queue","step-functions"],"latest_commit_sha":null,"homepage":"https://www.udemy.com/course/aws-serverless-microservices-lambda-eventbridge-sqs-apigateway/?couponCode=NOVE24","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awsrun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-12T12:57:05.000Z","updated_at":"2024-11-06T14:33:56.000Z","dependencies_parsed_at":"2024-01-14T08:23:57.550Z","dependency_job_id":"89e777a3-39d0-4f26-a418-2db92662005d","html_url":"https://github.com/awsrun/aws-microservices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsrun%2Faws-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsrun%2Faws-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsrun%2Faws-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsrun%2Faws-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awsrun","download_url":"https://codeload.github.com/awsrun/aws-microservices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223691640,"owners_count":17186861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","aws","aws-apigateway","aws-dynamodb","aws-lambda","cdk","cloudwatch","dynamodb","eventbridge","lambda","lambda-functions","sns","sns-topic","sqs","sqs-queue","step-functions"],"created_at":"2024-08-01T21:01:43.478Z","updated_at":"2025-04-16T00:32:34.710Z","avatar_url":"https://github.com/awsrun.png","language":"JavaScript","readme":"# Serverless Event-driven E-commerce Microservices\n\n**UDEMY COURSE WITH DISCOUNTED - Step by Step Development of this Repository -\u003e https://www.udemy.com/course/aws-serverless-microservices-lambda-eventbridge-sqs-apigateway/?couponCode=APRI25**\n\n![course2](https://user-images.githubusercontent.com/1147445/158019166-96732203-6642-4242-b1d9-d53ece2e1ed3.png)\n\nThis is a Serverless Event-driven E-commerce project for TypeScript development with CDK.\nThe `cdk.json` file tells the CDK Toolkit how to execute your app.\n\n### Check Explanation of this Repository on Medium\n* [AWS Event-driven Serverless Microservices using AWS Lambda, API Gateway, EventBridge, SQS, DynamoDB and CDK for IaC](https://mehmetozkaya.medium.com/aws-event-driven-serverless-microservices-using-aws-lambda-api-gateway-eventbridge-sqs-dynamodb-a7f46220b738)\n* [See All Articles - AWS Serverless Microservices with Patterns \u0026 Best Practices](https://medium.com/aws-serverless-microservices-with-patterns-best)\n\n## Whats Including In This Repository\nWe will be following the reference architecture above which is a real-world **Serverless E-commerce application** and it includes;\n\n* **REST API** and **CRUD** endpoints with using **AWS Lambda, API Gateway**\n* **Data persistence** with using **AWS DynamoDB**\n* **Decouple microservices** with events using **Amazon EventBridge**\n* **Message Queues** for cross-service communication using **AWS SQS**\n* **Cloud stack development** with **IaC** using **AWS CloudFormation and AWS CDK**\n\n## Prerequisites\nYou will need the following tools:\n\n* AWS Account and User\n* AWS CLI\n* NodeJS\n* AWS CDK Toolkit\n* Docker\n\n### Run The Project\nFollow these steps to get your development environment set up: (Before Run Start the Docker Desktop)\n1. Clone the repository\n2. At the root directory which include **cdk.json** files, run below command:\n```csharp\ncdk deploy\n```\n\u003eNote: Make sure that your Docker Desktop is running before execute the cdk deploy command.\n\n4. Wait for provision all microservices into aws cloud. That’s it!\n\n5. You can **launch microservices** as below urls:\n\n* **Product API -\u003e https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/product**\n* **Basket API -\u003e https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/basket**\n* **Ordering API -\u003e https://xxx.execute-api.ap-southeast-1.amazonaws.com/prod/order**\n\n## Useful commands\n\n * `npm run build`   compile typescript to js\n * `npm run watch`   watch for changes and compile\n * `npm run test`    perform the jest unit tests\n * `cdk deploy`      deploy this stack to your default AWS account/region\n * `cdk diff`        compare deployed stack with current state\n * `cdk synth`       emits the synthesized CloudFormation template\n\n## Authors\n\n* **Mehmet Ozkaya** - *Initial work* - [mehmetozkaya](https://github.com/mehmetozkaya)\n\nSee also the list of [contributors](https://github.com/aspnetrun/run-core/contributors) who participated in this project. Check also [gihtub page of repository.](https://aspnetrun.github.io/run-aspnetcore-angular-realworld/)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsrun%2Faws-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawsrun%2Faws-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsrun%2Faws-microservices/lists"}