Serverless Backend Microservices


In this module, you will:

  • Use AWS Lambda and AWS DynamoDB to build a backend process for handling requests from your web application.

    The browser application that you deployed in the first module allows users to request that a unicorn be sent to a location of their choice. In order to fulfill those requests, the Javascript running in the browser will need to invoke a service running in the cloud.

Architecture

backend

You will implement a Lambda function that will be invoked each time a user requests a unicorn.

  • The function will select a unicorn from the fleet, record the request n a DynamoDB table and then repond to the front-end application with details about the unicorn being dispatched.

  • The function is invoked from the browser using AWS API Gateway.

Note: You will implement that connection in the next module. For this module, you will just test your function in isolation.