Fake notification microservice example.
This event-driven microservice is just a mock that represents a notification sender. ✉️
Assuming the goal is to build a highly scalable, robust, reliable checkout service that meets the standards of AWS Well-Architected, this project takes the most of the serverless design pattern and communicate with other microservices through Amazon SNS.
- Checkout Microservice
- It starts the checkout process by doing what the application needs and then communicate via SNS to the invoice microservice.
- Invoice Microservice
- Generate its invoice file, uploads to S3 and communicate via SNS to both logger and notification microservices.
- Logger Microservice
- Receive the information, customer details, generated invoice S3 URL and then persists on DynamoDB.
- Notification Microservice
- When the invoice microservice informs that the invoice itself was successfully generated, then this microservice sends the notification to the customer.
- Copy
secrets.json.example
, update with your information and rename it tosecrets.json
. - Run
$ serverless config credentials -o --provider aws --key=YOUR_AWS_KEY --secret YOUR_AWS_SECRET
. - Deploy to AWS
$ serverless deploy
.