The goal is to create a Rest API calculator which is backed by the Serverless framework.
The calculator API should have 4 endpoints, all of them should be a GET endpoint that accepts two variables as query parameters
/add
/subtract
/divide
/multiply
Details
Technical Specifications:
Use python as the language for the handlers
assume the cloud provider as aws
4 handler files, name them as endpoint_handler.py
Create an offline dev server using serverless-offline
Type of issue: Single
Time Limit: 2 days
Issue requirements / progress
[ ] Create the handlers.
[ ] Create serverless.yml.
[ ] Local testing
[ ] (optional) create a free AWS account and create a live deployment using serverless deploy
Description
The goal is to create a Rest API calculator which is backed by the Serverless framework. The calculator API should have 4 endpoints, all of them should be a GET endpoint that accepts two variables as query parameters
Details
python
as the language for the handlersaws
endpoint_handler.py
serverless-offline
Issue requirements / progress
serverless.yml
.serverless deploy
Resources
Directory Structure
Create a folder named
serverless-calculator
in theDevelopment
folder and place the appropriately named files inside this folder.Note